mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
docs: update links to point to property table (#12249)
This commit is contained in:
parent
964d99efb9
commit
15dde692f3
17
.github/dependabot.yml
vendored
17
.github/dependabot.yml
vendored
@ -20,8 +20,8 @@ updates:
|
||||
dependency-type: development
|
||||
patterns:
|
||||
- '*'
|
||||
- package-ecosystem: github-actions
|
||||
directory: /
|
||||
- package-ecosystem: npm
|
||||
directory: /website
|
||||
schedule:
|
||||
interval: weekly
|
||||
day: 'sunday'
|
||||
@ -31,7 +31,7 @@ updates:
|
||||
all:
|
||||
patterns:
|
||||
- '*'
|
||||
- package-ecosystem: docker
|
||||
- package-ecosystem: github-actions
|
||||
directory: /
|
||||
schedule:
|
||||
interval: weekly
|
||||
@ -42,3 +42,14 @@ updates:
|
||||
all:
|
||||
patterns:
|
||||
- '*'
|
||||
- package-ecosystem: docker
|
||||
directory: /
|
||||
schedule:
|
||||
interval: weekly
|
||||
day: 'sunday'
|
||||
time: '05:00'
|
||||
timezone: Europe/Berlin
|
||||
groups:
|
||||
all:
|
||||
patterns:
|
||||
- '*'
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -39,7 +39,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[snapshot(options)](./puppeteer.accessibility.snapshot.md)
|
||||
<span id="snapshot">[snapshot(options)](./puppeteer.accessibility.snapshot.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
signal
|
||||
<span id="signal">signal</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
creditCard
|
||||
<span id="creditcard">creditCard</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
height
|
||||
<span id="height">height</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -54,7 +54,7 @@ the height of the element in pixels.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
width
|
||||
<span id="width">width</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
border
|
||||
<span id="border">border</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -50,7 +50,7 @@ border
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
content
|
||||
<span id="content">content</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -65,7 +65,7 @@ content
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
height
|
||||
<span id="height">height</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -80,7 +80,7 @@ number
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
margin
|
||||
<span id="margin">margin</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -95,7 +95,7 @@ margin
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
padding
|
||||
<span id="padding">padding</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -110,7 +110,7 @@ padding
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
width
|
||||
<span id="width">width</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -8,7 +8,7 @@ sidebar_label: Browser
|
||||
|
||||
- connected to via [Puppeteer.connect()](./puppeteer.puppeteer.connect.md) or - launched by [PuppeteerNode.launch()](./puppeteer.puppeteernode.launch.md).
|
||||
|
||||
[Browser](./puppeteer.browser.md) [emits](./puppeteer.eventemitter.md) various events which are documented in the [BrowserEvent](./puppeteer.browserevent.md) enum.
|
||||
[Browser](./puppeteer.browser.md) [emits](./puppeteer.eventemitter.emit.md) various events which are documented in the [BrowserEvent](./puppeteer.browserevent.md) enum.
|
||||
|
||||
#### Signature:
|
||||
|
||||
@ -75,7 +75,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
connected
|
||||
<span id="connected">connected</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -92,7 +92,7 @@ Whether Puppeteer is connected to this [browser](./puppeteer.browser.md).
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
debugInfo
|
||||
<span id="debuginfo">debugInfo</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -126,7 +126,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[browserContexts()](./puppeteer.browser.browsercontexts.md)
|
||||
<span id="browsercontexts">[browserContexts()](./puppeteer.browser.browsercontexts.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -139,7 +139,7 @@ In a newly-created [browser](./puppeteer.browser.md), this will return a single
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[close()](./puppeteer.browser.close.md)
|
||||
<span id="close">[close()](./puppeteer.browser.close.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -150,7 +150,7 @@ Closes this [browser](./puppeteer.browser.md) and all associated [pages](./puppe
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[createBrowserContext(options)](./puppeteer.browser.createbrowsercontext.md)
|
||||
<span id="createbrowsercontext">[createBrowserContext(options)](./puppeteer.browser.createbrowsercontext.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -163,7 +163,7 @@ This won't share cookies/cache with other [browser contexts](./puppeteer.browser
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[defaultBrowserContext()](./puppeteer.browser.defaultbrowsercontext.md)
|
||||
<span id="defaultbrowsercontext">[defaultBrowserContext()](./puppeteer.browser.defaultbrowsercontext.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -174,7 +174,7 @@ Gets the default [browser context](./puppeteer.browsercontext.md).
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[disconnect()](./puppeteer.browser.disconnect.md)
|
||||
<span id="disconnect">[disconnect()](./puppeteer.browser.disconnect.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -185,7 +185,7 @@ Disconnects Puppeteer from this [browser](./puppeteer.browser.md), but leaves th
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[isConnected()](./puppeteer.browser.isconnected.md)
|
||||
<span id="isconnected">[isConnected()](./puppeteer.browser.isconnected.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -202,7 +202,7 @@ Use [Browser.connected](./puppeteer.browser.md).
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[newPage()](./puppeteer.browser.newpage.md)
|
||||
<span id="newpage">[newPage()](./puppeteer.browser.newpage.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -213,7 +213,7 @@ Creates a new [page](./puppeteer.page.md) in the [default browser context](./pup
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[pages()](./puppeteer.browser.pages.md)
|
||||
<span id="pages">[pages()](./puppeteer.browser.pages.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -226,7 +226,7 @@ If there ar multiple [browser contexts](./puppeteer.browsercontext.md), this ret
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[process()](./puppeteer.browser.process.md)
|
||||
<span id="process">[process()](./puppeteer.browser.process.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -237,7 +237,7 @@ Gets the associated [ChildProcess](https://nodejs.org/api/child_process.html#cla
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[target()](./puppeteer.browser.target.md)
|
||||
<span id="target">[target()](./puppeteer.browser.target.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -248,7 +248,7 @@ Gets the [target](./puppeteer.target.md) associated with the [default browser co
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[targets()](./puppeteer.browser.targets.md)
|
||||
<span id="targets">[targets()](./puppeteer.browser.targets.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -261,7 +261,7 @@ In case of multiple [browser contexts](./puppeteer.browsercontext.md), this retu
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[userAgent()](./puppeteer.browser.useragent.md)
|
||||
<span id="useragent">[userAgent()](./puppeteer.browser.useragent.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -274,7 +274,7 @@ Gets this [browser's](./puppeteer.browser.md) original user agent.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[version()](./puppeteer.browser.version.md)
|
||||
<span id="version">[version()](./puppeteer.browser.version.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -289,7 +289,7 @@ The format of [Browser.version()](./puppeteer.browser.version.md) might change w
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[waitForTarget(predicate, options)](./puppeteer.browser.waitfortarget.md)
|
||||
<span id="waitfortarget">[waitForTarget(predicate, options)](./puppeteer.browser.waitfortarget.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -302,7 +302,7 @@ This will look all open [browser contexts](./puppeteer.browsercontext.md).
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[wsEndpoint()](./puppeteer.browser.wsendpoint.md)
|
||||
<span id="wsendpoint">[wsEndpoint()](./puppeteer.browser.wsendpoint.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
defaultViewport
|
||||
<span id="defaultviewport">defaultViewport</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -58,7 +58,7 @@ Sets the viewport for each page.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
ignoreHTTPSErrors
|
||||
<span id="ignorehttpserrors">ignoreHTTPSErrors</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -79,7 +79,7 @@ Whether to ignore HTTPS errors during navigation.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
protocol
|
||||
<span id="protocol">protocol</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -98,7 +98,7 @@ protocol
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
protocolTimeout
|
||||
<span id="protocoltimeout">protocolTimeout</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -119,7 +119,7 @@ Timeout setting for individual protocol (CDP) calls.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
slowMo
|
||||
<span id="slowmo">slowMo</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -138,7 +138,7 @@ Slows down Puppeteer operations by the specified amount of milliseconds to aid d
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
targetFilter
|
||||
<span id="targetfilter">targetFilter</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -60,7 +60,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
closed
|
||||
<span id="closed">closed</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -77,7 +77,7 @@ Whether this [browser context](./puppeteer.browsercontext.md) is closed.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
id
|
||||
<span id="id">id</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -111,7 +111,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[browser()](./puppeteer.browsercontext.browser.md)
|
||||
<span id="browser">[browser()](./puppeteer.browsercontext.browser.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -122,7 +122,7 @@ Gets the [browser](./puppeteer.browser.md) associated with this [browser context
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[clearPermissionOverrides()](./puppeteer.browsercontext.clearpermissionoverrides.md)
|
||||
<span id="clearpermissionoverrides">[clearPermissionOverrides()](./puppeteer.browsercontext.clearpermissionoverrides.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -133,7 +133,7 @@ Clears all permission overrides for this [browser context](./puppeteer.browserco
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[close()](./puppeteer.browsercontext.close.md)
|
||||
<span id="close">[close()](./puppeteer.browsercontext.close.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -144,7 +144,7 @@ Closes this [browser context](./puppeteer.browsercontext.md) and all associated
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[isIncognito()](./puppeteer.browsercontext.isincognito.md)
|
||||
<span id="isincognito">[isIncognito()](./puppeteer.browsercontext.isincognito.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -163,7 +163,7 @@ In Chrome, the [default browser context](./puppeteer.browser.defaultbrowserconte
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[newPage()](./puppeteer.browsercontext.newpage.md)
|
||||
<span id="newpage">[newPage()](./puppeteer.browsercontext.newpage.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -174,7 +174,7 @@ Creates a new [page](./puppeteer.page.md) in this [browser context](./puppeteer.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[overridePermissions(origin, permissions)](./puppeteer.browsercontext.overridepermissions.md)
|
||||
<span id="overridepermissions">[overridePermissions(origin, permissions)](./puppeteer.browsercontext.overridepermissions.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -185,7 +185,7 @@ Grants this [browser context](./puppeteer.browsercontext.md) the given `permissi
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[pages()](./puppeteer.browsercontext.pages.md)
|
||||
<span id="pages">[pages()](./puppeteer.browsercontext.pages.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -196,7 +196,7 @@ Gets a list of all open [pages](./puppeteer.page.md) inside this [browser contex
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[targets()](./puppeteer.browsercontext.targets.md)
|
||||
<span id="targets">[targets()](./puppeteer.browsercontext.targets.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -207,7 +207,7 @@ Gets all active [targets](./puppeteer.target.md) inside this [browser context](.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[waitForTarget(predicate, options)](./puppeteer.browsercontext.waitfortarget.md)
|
||||
<span id="waitfortarget">[waitForTarget(predicate, options)](./puppeteer.browsercontext.waitfortarget.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
targetchanged
|
||||
<span id="targetchanged">targetchanged</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -52,7 +52,7 @@ targetchanged
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
targetcreated
|
||||
<span id="targetcreated">targetcreated</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -67,7 +67,7 @@ targetcreated
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
targetdestroyed
|
||||
<span id="targetdestroyed">targetdestroyed</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
proxyBypassList
|
||||
<span id="proxybypasslist">proxyBypassList</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -54,7 +54,7 @@ Bypass the proxy for the given list of hosts.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
proxyServer
|
||||
<span id="proxyserver">proxyServer</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
disconnected
|
||||
<span id="disconnected">disconnected</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -52,7 +52,7 @@ undefined
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
targetchanged
|
||||
<span id="targetchanged">targetchanged</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -67,7 +67,7 @@ targetchanged
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
targetcreated
|
||||
<span id="targetcreated">targetcreated</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -82,7 +82,7 @@ targetcreated
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
targetdestroyed
|
||||
<span id="targetdestroyed">targetdestroyed</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
args
|
||||
<span id="args">args</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -56,7 +56,7 @@ Additional command line arguments to pass to the browser instance.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
debuggingPort
|
||||
<span id="debuggingport">debuggingPort</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -75,7 +75,7 @@ Specify the debugging port number to use
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
devtools
|
||||
<span id="devtools">devtools</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -96,7 +96,7 @@ Whether to auto-open a DevTools panel for each tab. If this is set to `true`, th
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
headless
|
||||
<span id="headless">headless</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -117,7 +117,7 @@ Whether to run the browser in headless mode.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
userDataDir
|
||||
<span id="userdatadir">userDataDir</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -54,7 +54,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[connection()](./puppeteer.cdpsession.connection.md)
|
||||
<span id="connection">[connection()](./puppeteer.cdpsession.connection.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -63,7 +63,7 @@ Description
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[detach()](./puppeteer.cdpsession.detach.md)
|
||||
<span id="detach">[detach()](./puppeteer.cdpsession.detach.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -74,7 +74,7 @@ Detaches the cdpSession from the target. Once detached, the cdpSession object wo
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[id()](./puppeteer.cdpsession.id.md)
|
||||
<span id="id">[id()](./puppeteer.cdpsession.id.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -85,7 +85,7 @@ Returns the session's id.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[send(method, params, options)](./puppeteer.cdpsession.send.md)
|
||||
<span id="send">[send(method, params, options)](./puppeteer.cdpsession.send.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -25,14 +25,14 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[SessionAttached](./puppeteer.cdpsessionevent.sessionattached.md)
|
||||
<span id="sessionattached">[SessionAttached](./puppeteer.cdpsessionevent.sessionattached.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[SessionDetached](./puppeteer.cdpsessionevent.sessiondetached.md)
|
||||
<span id="sessiondetached">[SessionDetached](./puppeteer.cdpsessionevent.sessiondetached.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
sessionattached
|
||||
<span id="sessionattached">sessionattached</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -52,7 +52,7 @@ sessionattached
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
sessiondetached
|
||||
<span id="sessiondetached">sessiondetached</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
offset
|
||||
<span id="offset">offset</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
timeout
|
||||
<span id="timeout">timeout</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -23,42 +23,42 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[emit(type, event)](./puppeteer.commoneventemitter.emit.md)
|
||||
<span id="emit">[emit(type, event)](./puppeteer.commoneventemitter.emit.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[listenerCount(event)](./puppeteer.commoneventemitter.listenercount.md)
|
||||
<span id="listenercount">[listenerCount(event)](./puppeteer.commoneventemitter.listenercount.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[off(type, handler)](./puppeteer.commoneventemitter.off.md)
|
||||
<span id="off">[off(type, handler)](./puppeteer.commoneventemitter.off.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[on(type, handler)](./puppeteer.commoneventemitter.on.md)
|
||||
<span id="on">[on(type, handler)](./puppeteer.commoneventemitter.on.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[once(type, handler)](./puppeteer.commoneventemitter.once.md)
|
||||
<span id="once">[once(type, handler)](./puppeteer.commoneventemitter.once.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[removeAllListeners(event)](./puppeteer.commoneventemitter.removealllisteners.md)
|
||||
<span id="removealllisteners">[removeAllListeners(event)](./puppeteer.commoneventemitter.removealllisteners.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -39,7 +39,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
browserRevision
|
||||
<span id="browserrevision">browserRevision</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -66,7 +66,7 @@ The pinned browser version supported by the current Puppeteer version.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
cacheDirectory
|
||||
<span id="cachedirectory">cacheDirectory</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -89,7 +89,7 @@ Can be overridden by `PUPPETEER_CACHE_DIR`.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
defaultProduct
|
||||
<span id="defaultproduct">defaultProduct</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -112,7 +112,7 @@ Can be overridden by `PUPPETEER_PRODUCT`.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
downloadBaseUrl
|
||||
<span id="downloadbaseurl">downloadBaseUrl</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -135,7 +135,7 @@ Either https://storage.googleapis.com/chrome-for-testing-public or https://archi
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
executablePath
|
||||
<span id="executablepath">executablePath</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -158,7 +158,7 @@ Can be overridden by `PUPPETEER_EXECUTABLE_PATH`.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
experiments
|
||||
<span id="experiments">experiments</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -177,7 +177,7 @@ Defines experimental options for Puppeteer.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
logLevel
|
||||
<span id="loglevel">logLevel</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -198,7 +198,7 @@ Tells Puppeteer to log at the given level.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
skipChromeDownload
|
||||
<span id="skipchromedownload">skipChromeDownload</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -219,7 +219,7 @@ Can be overridden by `PUPPETEER_SKIP_CHROME_DOWNLOAD`.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
skipChromeHeadlessShellDownload
|
||||
<span id="skipchromeheadlessshelldownload">skipChromeHeadlessShellDownload</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -240,7 +240,7 @@ Can be overridden by `PUPPETEER_SKIP_CHROME_HEADLESS_SHELL_DOWNLOAD`.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
skipDownload
|
||||
<span id="skipdownload">skipDownload</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -261,7 +261,7 @@ Can be overridden by `PUPPETEER_SKIP_DOWNLOAD`.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
temporaryDirectory
|
||||
<span id="temporarydirectory">temporaryDirectory</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -29,7 +29,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[(constructor)(url, transport, delay, timeout)](./puppeteer.connection._constructor_.md)
|
||||
<span id="_constructor_">[(constructor)(url, transport, delay, timeout)](./puppeteer.connection._constructor_.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -61,7 +61,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
timeout
|
||||
<span id="timeout">timeout</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -93,7 +93,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[createSession(targetInfo)](./puppeteer.connection.createsession.md)
|
||||
<span id="createsession">[createSession(targetInfo)](./puppeteer.connection.createsession.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -102,7 +102,7 @@ Description
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[dispose()](./puppeteer.connection.dispose.md)
|
||||
<span id="dispose">[dispose()](./puppeteer.connection.dispose.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -111,7 +111,7 @@ Description
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[fromSession(session)](./puppeteer.connection.fromsession.md)
|
||||
<span id="fromsession">[fromSession(session)](./puppeteer.connection.fromsession.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -122,7 +122,7 @@ Description
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[send(method, params, options)](./puppeteer.connection.send.md)
|
||||
<span id="send">[send(method, params, options)](./puppeteer.connection.send.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -131,7 +131,7 @@ Description
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[session(sessionId)](./puppeteer.connection.session.md)
|
||||
<span id="session">[session(sessionId)](./puppeteer.connection.session.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -140,7 +140,7 @@ Description
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[url()](./puppeteer.connection.url.md)
|
||||
<span id="url">[url()](./puppeteer.connection.url.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
onclose
|
||||
<span id="onclose">onclose</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -52,7 +52,7 @@ onclose
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
onmessage
|
||||
<span id="onmessage">onmessage</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -82,14 +82,14 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[close()](./puppeteer.connectiontransport.close.md)
|
||||
<span id="close">[close()](./puppeteer.connectiontransport.close.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[send(message)](./puppeteer.connectiontransport.send.md)
|
||||
<span id="send">[send(message)](./puppeteer.connectiontransport.send.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
browserURL
|
||||
<span id="browserurl">browserURL</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -54,7 +54,7 @@ string
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
browserWSEndpoint
|
||||
<span id="browserwsendpoint">browserWSEndpoint</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -71,7 +71,7 @@ string
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
headers
|
||||
<span id="headers">headers</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -90,7 +90,7 @@ Headers to use for the web socket connection.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
transport
|
||||
<span id="transport">transport</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -29,7 +29,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[(constructor)(type, text, args, stackTraceLocations)](./puppeteer.consolemessage._constructor_.md)
|
||||
<span id="_constructor_">[(constructor)(type, text, args, stackTraceLocations)](./puppeteer.consolemessage._constructor_.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -57,7 +57,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[args()](./puppeteer.consolemessage.args.md)
|
||||
<span id="args">[args()](./puppeteer.consolemessage.args.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -68,7 +68,7 @@ An array of arguments passed to the console.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[location()](./puppeteer.consolemessage.location.md)
|
||||
<span id="location">[location()](./puppeteer.consolemessage.location.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -79,7 +79,7 @@ The location of the console message.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[stackTrace()](./puppeteer.consolemessage.stacktrace.md)
|
||||
<span id="stacktrace">[stackTrace()](./puppeteer.consolemessage.stacktrace.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -90,7 +90,7 @@ The array of locations on the stack of the console message.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[text()](./puppeteer.consolemessage.text.md)
|
||||
<span id="text">[text()](./puppeteer.consolemessage.text.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -101,7 +101,7 @@ The text of the console message.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[type()](./puppeteer.consolemessage.type.md)
|
||||
<span id="type">[type()](./puppeteer.consolemessage.type.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
columnNumber
|
||||
<span id="columnnumber">columnNumber</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -54,7 +54,7 @@ number
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
lineNumber
|
||||
<span id="linenumber">lineNumber</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -73,7 +73,7 @@ number
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
url
|
||||
<span id="url">url</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
headers
|
||||
<span id="headers">headers</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -52,7 +52,7 @@ Record<string, string>
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
method
|
||||
<span id="method">method</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -69,7 +69,7 @@ string
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
postData
|
||||
<span id="postdata">postData</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -86,7 +86,7 @@ string
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
url
|
||||
<span id="url">url</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
domain
|
||||
<span id="domain">domain</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -54,7 +54,7 @@ Cookie domain.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
expires
|
||||
<span id="expires">expires</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -71,7 +71,7 @@ Cookie expiration date as the number of seconds since the UNIX epoch. Set to `-1
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
httpOnly
|
||||
<span id="httponly">httpOnly</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -88,7 +88,7 @@ True if cookie is http-only.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
name
|
||||
<span id="name">name</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -105,7 +105,7 @@ Cookie name.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
partitionKey
|
||||
<span id="partitionkey">partitionKey</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -124,7 +124,7 @@ Cookie partition key. The site of the top-level URL the browser was visiting at
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
partitionKeyOpaque
|
||||
<span id="partitionkeyopaque">partitionKeyOpaque</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -143,7 +143,7 @@ True if cookie partition key is opaque. Supported only in Chrome.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
path
|
||||
<span id="path">path</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -160,7 +160,7 @@ Cookie path.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
priority
|
||||
<span id="priority">priority</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -179,7 +179,7 @@ Cookie Priority. Supported only in Chrome.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
sameParty
|
||||
<span id="sameparty">sameParty</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -198,7 +198,7 @@ True if cookie is SameParty. Supported only in Chrome.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
sameSite
|
||||
<span id="samesite">sameSite</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -217,7 +217,7 @@ Cookie SameSite type.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
secure
|
||||
<span id="secure">secure</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -234,7 +234,7 @@ True if cookie is secure.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
session
|
||||
<span id="session">session</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -251,7 +251,7 @@ True in case of session cookie.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
size
|
||||
<span id="size">size</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -268,7 +268,7 @@ Cookie size.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
sourceScheme
|
||||
<span id="sourcescheme">sourceScheme</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -287,7 +287,7 @@ Cookie source scheme type. Supported only in Chrome.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
value
|
||||
<span id="value">value</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
domain
|
||||
<span id="domain">domain</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -56,7 +56,7 @@ Cookie domain.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
expires
|
||||
<span id="expires">expires</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -75,7 +75,7 @@ Cookie expiration date, session cookie if not set
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
httpOnly
|
||||
<span id="httponly">httpOnly</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -94,7 +94,7 @@ True if cookie is http-only.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
name
|
||||
<span id="name">name</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -111,7 +111,7 @@ Cookie name.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
partitionKey
|
||||
<span id="partitionkey">partitionKey</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -130,7 +130,7 @@ Cookie partition key. The site of the top-level URL the browser was visiting at
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
path
|
||||
<span id="path">path</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -149,7 +149,7 @@ Cookie path.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
priority
|
||||
<span id="priority">priority</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -168,7 +168,7 @@ Cookie Priority. Supported only in Chrome.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
sameParty
|
||||
<span id="sameparty">sameParty</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -187,7 +187,7 @@ True if cookie is SameParty. Supported only in Chrome.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
sameSite
|
||||
<span id="samesite">sameSite</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -206,7 +206,7 @@ Cookie SameSite type.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
secure
|
||||
<span id="secure">secure</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -225,7 +225,7 @@ True if cookie is secure.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
sourceScheme
|
||||
<span id="sourcescheme">sourceScheme</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -244,7 +244,7 @@ Cookie source scheme type. Supported only in Chrome.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
url
|
||||
<span id="url">url</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -263,7 +263,7 @@ The request-URI to associate with the setting of the cookie. This value can affe
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
value
|
||||
<span id="value">value</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -60,7 +60,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[(constructor)(client)](./puppeteer.coverage._constructor_.md)
|
||||
<span id="_constructor_">[(constructor)(client)](./puppeteer.coverage._constructor_.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -88,7 +88,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[startCSSCoverage(options)](./puppeteer.coverage.startcsscoverage.md)
|
||||
<span id="startcsscoverage">[startCSSCoverage(options)](./puppeteer.coverage.startcsscoverage.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -97,7 +97,7 @@ Description
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[startJSCoverage(options)](./puppeteer.coverage.startjscoverage.md)
|
||||
<span id="startjscoverage">[startJSCoverage(options)](./puppeteer.coverage.startjscoverage.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -106,7 +106,7 @@ Description
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[stopCSSCoverage()](./puppeteer.coverage.stopcsscoverage.md)
|
||||
<span id="stopcsscoverage">[stopCSSCoverage()](./puppeteer.coverage.stopcsscoverage.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -117,7 +117,7 @@ Promise that resolves to the array of coverage reports for all stylesheets.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[stopJSCoverage()](./puppeteer.coverage.stopjscoverage.md)
|
||||
<span id="stopjscoverage">[stopJSCoverage()](./puppeteer.coverage.stopjscoverage.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
ranges
|
||||
<span id="ranges">ranges</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -54,7 +54,7 @@ The covered range as start and end positions.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
text
|
||||
<span id="text">text</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -71,7 +71,7 @@ The content of the style sheet or script.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
url
|
||||
<span id="url">url</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
password
|
||||
<span id="password">password</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -50,7 +50,7 @@ string
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
username
|
||||
<span id="username">username</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -27,7 +27,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[(constructor)(client)](./puppeteer.csscoverage._constructor_.md)
|
||||
<span id="_constructor_">[(constructor)(client)](./puppeteer.csscoverage._constructor_.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -55,7 +55,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[start(options)](./puppeteer.csscoverage.start.md)
|
||||
<span id="start">[start(options)](./puppeteer.csscoverage.start.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -64,7 +64,7 @@ Description
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[stop()](./puppeteer.csscoverage.stop.md)
|
||||
<span id="stop">[stop()](./puppeteer.csscoverage.stop.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
resetOnNavigation
|
||||
<span id="resetonnavigation">resetOnNavigation</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
queryAll
|
||||
<span id="queryall">queryAll</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -54,7 +54,7 @@ Searches for some [Nodes](https://developer.mozilla.org/en-US/docs/Web/API/Node)
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
queryOne
|
||||
<span id="queryone">queryOne</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
pendingProtocolErrors
|
||||
<span id="pendingprotocolerrors">pendingProtocolErrors</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
domain
|
||||
<span id="domain">domain</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -54,7 +54,7 @@ If specified, deletes only cookies with the exact domain.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
name
|
||||
<span id="name">name</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -71,7 +71,7 @@ Name of the cookies to remove.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
path
|
||||
<span id="path">path</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -90,7 +90,7 @@ If specified, deletes only cookies with the exact path.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
url
|
||||
<span id="url">url</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
userAgent
|
||||
<span id="useragent">userAgent</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -50,7 +50,7 @@ string
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
viewport
|
||||
<span id="viewport">viewport</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -51,7 +51,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
devices
|
||||
<span id="devices">devices</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -83,7 +83,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[cancel()](./puppeteer.devicerequestprompt.cancel.md)
|
||||
<span id="cancel">[cancel()](./puppeteer.devicerequestprompt.cancel.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -94,7 +94,7 @@ Cancel the prompt.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[select(device)](./puppeteer.devicerequestprompt.select.md)
|
||||
<span id="select">[select(device)](./puppeteer.devicerequestprompt.select.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -105,7 +105,7 @@ Select a device in the prompt's list.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[waitForDevice(filter, options)](./puppeteer.devicerequestprompt.waitfordevice.md)
|
||||
<span id="waitfordevice">[waitForDevice(filter, options)](./puppeteer.devicerequestprompt.waitfordevice.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
id
|
||||
<span id="id">id</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -52,7 +52,7 @@ Device id during a prompt.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
name
|
||||
<span id="name">name</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -50,7 +50,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[accept(promptText)](./puppeteer.dialog.accept.md)
|
||||
<span id="accept">[accept(promptText)](./puppeteer.dialog.accept.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -61,7 +61,7 @@ A promise that resolves when the dialog has been accepted.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[defaultValue()](./puppeteer.dialog.defaultvalue.md)
|
||||
<span id="defaultvalue">[defaultValue()](./puppeteer.dialog.defaultvalue.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -72,7 +72,7 @@ The default value of the prompt, or an empty string if the dialog is not a `prom
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[dismiss()](./puppeteer.dialog.dismiss.md)
|
||||
<span id="dismiss">[dismiss()](./puppeteer.dialog.dismiss.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -83,7 +83,7 @@ A promise which will resolve once the dialog has been dismissed
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[message()](./puppeteer.dialog.message.md)
|
||||
<span id="message">[message()](./puppeteer.dialog.message.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -94,7 +94,7 @@ The message displayed in the dialog.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[type()](./puppeteer.dialog.type.md)
|
||||
<span id="type">[type()](./puppeteer.dialog.type.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -4,7 +4,7 @@ sidebar_label: ElementHandle.click
|
||||
|
||||
# ElementHandle.click() method
|
||||
|
||||
This method scrolls element into view if needed, and then uses [Page.mouse](./puppeteer.page.md) to click in the center of the element. If the element is detached from DOM, the method throws an error.
|
||||
This method scrolls element into view if needed, and then uses [Page.mouse](./puppeteer.page.md#mouse) to click in the center of the element. If the element is detached from DOM, the method throws an error.
|
||||
|
||||
#### Signature:
|
||||
|
||||
|
@ -4,7 +4,7 @@ sidebar_label: ElementHandle.hover
|
||||
|
||||
# ElementHandle.hover() method
|
||||
|
||||
This method scrolls element into view if needed, and then uses [Page](./puppeteer.page.md) to hover over the center of the element. If the element is detached from DOM, the method throws an error.
|
||||
This method scrolls element into view if needed, and then uses [Page.mouse](./puppeteer.page.md#mouse) to hover over the center of the element. If the element is detached from DOM, the method throws an error.
|
||||
|
||||
#### Signature:
|
||||
|
||||
|
@ -60,7 +60,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
frame
|
||||
<span id="frame">frame</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -94,7 +94,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[$(selector)](./puppeteer.elementhandle._.md)
|
||||
<span id="_">[$(selector)](./puppeteer.elementhandle._.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -105,7 +105,7 @@ Queries the current element for an element matching the given selector.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[$$(selector)](./puppeteer.elementhandle.__.md)
|
||||
<span id="__">[$$(selector)](./puppeteer.elementhandle.__.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -116,7 +116,7 @@ Queries the current element for all elements matching the given selector.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[$$eval(selector, pageFunction, args)](./puppeteer.elementhandle.__eval.md)
|
||||
<span id="__eval">[$$eval(selector, pageFunction, args)](./puppeteer.elementhandle.__eval.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -129,7 +129,7 @@ If the given function returns a promise, then this method will wait till the pro
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[$eval(selector, pageFunction, args)](./puppeteer.elementhandle._eval.md)
|
||||
<span id="_eval">[$eval(selector, pageFunction, args)](./puppeteer.elementhandle._eval.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -142,7 +142,7 @@ If the given function returns a promise, then this method will wait till the pro
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[autofill(data)](./puppeteer.elementhandle.autofill.md)
|
||||
<span id="autofill">[autofill(data)](./puppeteer.elementhandle.autofill.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -153,7 +153,7 @@ If the element is a form input, you can use [ElementHandle.autofill()](./puppete
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[boundingBox()](./puppeteer.elementhandle.boundingbox.md)
|
||||
<span id="boundingbox">[boundingBox()](./puppeteer.elementhandle.boundingbox.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -164,7 +164,7 @@ This method returns the bounding box of the element (relative to the main frame)
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[boxModel()](./puppeteer.elementhandle.boxmodel.md)
|
||||
<span id="boxmodel">[boxModel()](./puppeteer.elementhandle.boxmodel.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -175,18 +175,18 @@ This method returns boxes of the element, or `null` if the element is [not part
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[click(this, options)](./puppeteer.elementhandle.click.md)
|
||||
<span id="click">[click(this, options)](./puppeteer.elementhandle.click.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
</td><td>
|
||||
|
||||
This method scrolls element into view if needed, and then uses [Page.mouse](./puppeteer.page.md) to click in the center of the element. If the element is detached from DOM, the method throws an error.
|
||||
This method scrolls element into view if needed, and then uses [Page.mouse](./puppeteer.page.md#mouse) to click in the center of the element. If the element is detached from DOM, the method throws an error.
|
||||
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[clickablePoint(offset)](./puppeteer.elementhandle.clickablepoint.md)
|
||||
<span id="clickablepoint">[clickablePoint(offset)](./puppeteer.elementhandle.clickablepoint.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -197,7 +197,7 @@ Returns the middle point within an element unless a specific offset is provided.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[contentFrame(this)](./puppeteer.elementhandle.contentframe.md)
|
||||
<span id="contentframe">[contentFrame(this)](./puppeteer.elementhandle.contentframe.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -208,7 +208,7 @@ Resolves the frame associated with the element, if any. Always exists for HTMLIF
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[contentFrame()](./puppeteer.elementhandle.contentframe_1.md)
|
||||
<span id="contentframe">[contentFrame()](./puppeteer.elementhandle.contentframe_1.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -217,7 +217,7 @@ Resolves the frame associated with the element, if any. Always exists for HTMLIF
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[drag(this, target)](./puppeteer.elementhandle.drag.md)
|
||||
<span id="drag">[drag(this, target)](./puppeteer.elementhandle.drag.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -228,7 +228,7 @@ Drags an element over the given element or point.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[dragAndDrop(this, target, options)](./puppeteer.elementhandle.draganddrop.md)
|
||||
<span id="draganddrop">[dragAndDrop(this, target, options)](./puppeteer.elementhandle.draganddrop.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -243,7 +243,7 @@ Use `ElementHandle.drop` instead.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[dragEnter(this, data)](./puppeteer.elementhandle.dragenter.md)
|
||||
<span id="dragenter">[dragEnter(this, data)](./puppeteer.elementhandle.dragenter.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -258,7 +258,7 @@ Do not use. `dragenter` will automatically be performed during dragging.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[dragOver(this, data)](./puppeteer.elementhandle.dragover.md)
|
||||
<span id="dragover">[dragOver(this, data)](./puppeteer.elementhandle.dragover.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -273,7 +273,7 @@ Do not use. `dragover` will automatically be performed during dragging.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[drop(this, element)](./puppeteer.elementhandle.drop.md)
|
||||
<span id="drop">[drop(this, element)](./puppeteer.elementhandle.drop.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -284,7 +284,7 @@ Drops the given element onto the current one.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[drop(this, data)](./puppeteer.elementhandle.drop_1.md)
|
||||
<span id="drop">[drop(this, data)](./puppeteer.elementhandle.drop_1.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -299,7 +299,7 @@ No longer supported.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[focus()](./puppeteer.elementhandle.focus.md)
|
||||
<span id="focus">[focus()](./puppeteer.elementhandle.focus.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -310,18 +310,18 @@ Calls [focus](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[hover(this)](./puppeteer.elementhandle.hover.md)
|
||||
<span id="hover">[hover(this)](./puppeteer.elementhandle.hover.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
</td><td>
|
||||
|
||||
This method scrolls element into view if needed, and then uses [Page](./puppeteer.page.md) to hover over the center of the element. If the element is detached from DOM, the method throws an error.
|
||||
This method scrolls element into view if needed, and then uses [Page.mouse](./puppeteer.page.md#mouse) to hover over the center of the element. If the element is detached from DOM, the method throws an error.
|
||||
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[isHidden()](./puppeteer.elementhandle.ishidden.md)
|
||||
<span id="ishidden">[isHidden()](./puppeteer.elementhandle.ishidden.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -332,7 +332,7 @@ Checks if an element is hidden using the same mechanism as [ElementHandle.waitFo
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[isIntersectingViewport(this, options)](./puppeteer.elementhandle.isintersectingviewport.md)
|
||||
<span id="isintersectingviewport">[isIntersectingViewport(this, options)](./puppeteer.elementhandle.isintersectingviewport.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -343,7 +343,7 @@ Resolves to true if the element is visible in the current viewport. If an elemen
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[isVisible()](./puppeteer.elementhandle.isvisible.md)
|
||||
<span id="isvisible">[isVisible()](./puppeteer.elementhandle.isvisible.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -354,7 +354,7 @@ Checks if an element is visible using the same mechanism as [ElementHandle.waitF
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[press(key, options)](./puppeteer.elementhandle.press.md)
|
||||
<span id="press">[press(key, options)](./puppeteer.elementhandle.press.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -365,7 +365,7 @@ Focuses the element, and then uses [Keyboard.down()](./puppeteer.keyboard.down.m
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[screenshot(options)](./puppeteer.elementhandle.screenshot.md)
|
||||
<span id="screenshot">[screenshot(options)](./puppeteer.elementhandle.screenshot.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -376,7 +376,7 @@ This method scrolls element into view if needed, and then uses [Page.screenshot(
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[screenshot(options)](./puppeteer.elementhandle.screenshot_1.md)
|
||||
<span id="screenshot">[screenshot(options)](./puppeteer.elementhandle.screenshot_1.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -385,7 +385,7 @@ This method scrolls element into view if needed, and then uses [Page.screenshot(
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[scrollIntoView(this)](./puppeteer.elementhandle.scrollintoview.md)
|
||||
<span id="scrollintoview">[scrollIntoView(this)](./puppeteer.elementhandle.scrollintoview.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -396,7 +396,7 @@ Scrolls the element into view using either the automation protocol client or by
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[select(values)](./puppeteer.elementhandle.select.md)
|
||||
<span id="select">[select(values)](./puppeteer.elementhandle.select.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -407,7 +407,7 @@ Triggers a `change` and `input` event once all the provided options have been se
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[tap(this)](./puppeteer.elementhandle.tap.md)
|
||||
<span id="tap">[tap(this)](./puppeteer.elementhandle.tap.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -418,7 +418,7 @@ This method scrolls element into view if needed, and then uses [Touchscreen.tap(
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[toElement(tagName)](./puppeteer.elementhandle.toelement.md)
|
||||
<span id="toelement">[toElement(tagName)](./puppeteer.elementhandle.toelement.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -429,7 +429,7 @@ Converts the current handle to the given element type.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[touchEnd(this)](./puppeteer.elementhandle.touchend.md)
|
||||
<span id="touchend">[touchEnd(this)](./puppeteer.elementhandle.touchend.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -438,7 +438,7 @@ Converts the current handle to the given element type.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[touchMove(this)](./puppeteer.elementhandle.touchmove.md)
|
||||
<span id="touchmove">[touchMove(this)](./puppeteer.elementhandle.touchmove.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -447,7 +447,7 @@ Converts the current handle to the given element type.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[touchStart(this)](./puppeteer.elementhandle.touchstart.md)
|
||||
<span id="touchstart">[touchStart(this)](./puppeteer.elementhandle.touchstart.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -456,7 +456,7 @@ Converts the current handle to the given element type.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[type(text, options)](./puppeteer.elementhandle.type.md)
|
||||
<span id="type">[type(text, options)](./puppeteer.elementhandle.type.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -469,7 +469,7 @@ To press a special key, like `Control` or `ArrowDown`, use [ElementHandle.press(
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[uploadFile(this, paths)](./puppeteer.elementhandle.uploadfile.md)
|
||||
<span id="uploadfile">[uploadFile(this, paths)](./puppeteer.elementhandle.uploadfile.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -480,7 +480,7 @@ Sets the value of an [input element](https://developer.mozilla.org/en-US/docs/We
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[waitForSelector(selector, options)](./puppeteer.elementhandle.waitforselector.md)
|
||||
<span id="waitforselector">[waitForSelector(selector, options)](./puppeteer.elementhandle.waitforselector.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
scrollIntoView
|
||||
<span id="scrollintoview">scrollIntoView</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[emit(type, event)](./puppeteer.eventemitter.emit.md)
|
||||
<span id="emit">[emit(type, event)](./puppeteer.eventemitter.emit.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -48,7 +48,7 @@ Emit an event and call any associated listeners.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[listenerCount(type)](./puppeteer.eventemitter.listenercount.md)
|
||||
<span id="listenercount">[listenerCount(type)](./puppeteer.eventemitter.listenercount.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -59,7 +59,7 @@ Gets the number of listeners for a given event.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[off(type, handler)](./puppeteer.eventemitter.off.md)
|
||||
<span id="off">[off(type, handler)](./puppeteer.eventemitter.off.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -70,7 +70,7 @@ Remove an event listener from firing.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[on(type, handler)](./puppeteer.eventemitter.on.md)
|
||||
<span id="on">[on(type, handler)](./puppeteer.eventemitter.on.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -81,7 +81,7 @@ Bind an event listener to fire when an event occurs.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[once(type, handler)](./puppeteer.eventemitter.once.md)
|
||||
<span id="once">[once(type, handler)](./puppeteer.eventemitter.once.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -92,7 +92,7 @@ Like `on` but the listener will only be fired once and then it will be removed.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[removeAllListeners(type)](./puppeteer.eventemitter.removealllisteners.md)
|
||||
<span id="removealllisteners">[removeAllListeners(type)](./puppeteer.eventemitter.removealllisteners.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -47,7 +47,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[accept(paths)](./puppeteer.filechooser.accept.md)
|
||||
<span id="accept">[accept(paths)](./puppeteer.filechooser.accept.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -58,7 +58,7 @@ Accept the file chooser request with the given file paths.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[cancel()](./puppeteer.filechooser.cancel.md)
|
||||
<span id="cancel">[cancel()](./puppeteer.filechooser.cancel.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -69,7 +69,7 @@ Closes the file chooser without selecting any files.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[isMultiple()](./puppeteer.filechooser.ismultiple.md)
|
||||
<span id="ismultiple">[isMultiple()](./puppeteer.filechooser.ismultiple.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -82,7 +82,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
detached
|
||||
<span id="detached">detached</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -114,7 +114,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[$(selector)](./puppeteer.frame._.md)
|
||||
<span id="_">[$(selector)](./puppeteer.frame._.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -125,7 +125,7 @@ Queries the frame for an element matching the given selector.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[$$(selector)](./puppeteer.frame.__.md)
|
||||
<span id="__">[$$(selector)](./puppeteer.frame.__.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -136,7 +136,7 @@ Queries the frame for all elements matching the given selector.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[$$eval(selector, pageFunction, args)](./puppeteer.frame.__eval.md)
|
||||
<span id="__eval">[$$eval(selector, pageFunction, args)](./puppeteer.frame.__eval.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -149,7 +149,7 @@ If the given function returns a promise, then this method will wait till the pro
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[$eval(selector, pageFunction, args)](./puppeteer.frame._eval.md)
|
||||
<span id="_eval">[$eval(selector, pageFunction, args)](./puppeteer.frame._eval.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -162,7 +162,7 @@ If the given function returns a promise, then this method will wait till the pro
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[addScriptTag(options)](./puppeteer.frame.addscripttag.md)
|
||||
<span id="addscripttag">[addScriptTag(options)](./puppeteer.frame.addscripttag.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -173,7 +173,7 @@ Adds a `<script>` tag into the page with the desired url or content.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[addStyleTag(options)](./puppeteer.frame.addstyletag.md)
|
||||
<span id="addstyletag">[addStyleTag(options)](./puppeteer.frame.addstyletag.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -184,7 +184,7 @@ Adds a `HTMLStyleElement` into the frame with the desired URL
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[addStyleTag(options)](./puppeteer.frame.addstyletag_1.md)
|
||||
<span id="addstyletag">[addStyleTag(options)](./puppeteer.frame.addstyletag_1.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -195,7 +195,7 @@ Adds a `HTMLLinkElement` into the frame with the desired URL
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[childFrames()](./puppeteer.frame.childframes.md)
|
||||
<span id="childframes">[childFrames()](./puppeteer.frame.childframes.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -206,7 +206,7 @@ An array of child frames.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[click(selector, options)](./puppeteer.frame.click.md)
|
||||
<span id="click">[click(selector, options)](./puppeteer.frame.click.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -217,7 +217,7 @@ Clicks the first element found that matches `selector`.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[content()](./puppeteer.frame.content.md)
|
||||
<span id="content">[content()](./puppeteer.frame.content.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -228,7 +228,7 @@ The full HTML contents of the frame, including the DOCTYPE.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[evaluate(pageFunction, args)](./puppeteer.frame.evaluate.md)
|
||||
<span id="evaluate">[evaluate(pageFunction, args)](./puppeteer.frame.evaluate.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -239,7 +239,7 @@ Behaves identically to [Page.evaluate()](./puppeteer.page.evaluate.md) except it
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[evaluateHandle(pageFunction, args)](./puppeteer.frame.evaluatehandle.md)
|
||||
<span id="evaluatehandle">[evaluateHandle(pageFunction, args)](./puppeteer.frame.evaluatehandle.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -250,7 +250,7 @@ Behaves identically to [Page.evaluateHandle()](./puppeteer.page.evaluatehandle.m
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[focus(selector)](./puppeteer.frame.focus.md)
|
||||
<span id="focus">[focus(selector)](./puppeteer.frame.focus.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -261,7 +261,7 @@ Focuses the first element that matches the `selector`.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[frameElement()](./puppeteer.frame.frameelement.md)
|
||||
<span id="frameelement">[frameElement()](./puppeteer.frame.frameelement.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -270,7 +270,7 @@ Focuses the first element that matches the `selector`.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[goto(url, options)](./puppeteer.frame.goto.md)
|
||||
<span id="goto">[goto(url, options)](./puppeteer.frame.goto.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -281,7 +281,7 @@ Navigates the frame to the given `url`.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[hover(selector)](./puppeteer.frame.hover.md)
|
||||
<span id="hover">[hover(selector)](./puppeteer.frame.hover.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -292,7 +292,7 @@ Hovers the pointer over the center of the first element that matches the `select
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[isDetached()](./puppeteer.frame.isdetached.md)
|
||||
<span id="isdetached">[isDetached()](./puppeteer.frame.isdetached.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -309,7 +309,7 @@ Use the `detached` getter.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[isOOPFrame()](./puppeteer.frame.isoopframe.md)
|
||||
<span id="isoopframe">[isOOPFrame()](./puppeteer.frame.isoopframe.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -320,7 +320,7 @@ Is `true` if the frame is an out-of-process (OOP) frame. Otherwise, `false`.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[locator(selector)](./puppeteer.frame.locator.md)
|
||||
<span id="locator">[locator(selector)](./puppeteer.frame.locator.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -331,7 +331,7 @@ Creates a locator for the provided selector. See [Locator](./puppeteer.locator.m
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[locator(func)](./puppeteer.frame.locator_1.md)
|
||||
<span id="locator">[locator(func)](./puppeteer.frame.locator_1.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -342,7 +342,7 @@ Creates a locator for the provided function. See [Locator](./puppeteer.locator.m
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[name()](./puppeteer.frame.name.md)
|
||||
<span id="name">[name()](./puppeteer.frame.name.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -364,7 +364,7 @@ const nameOrId = await element.evaluate(frame => frame.name ?? frame.id);
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[page()](./puppeteer.frame.page.md)
|
||||
<span id="page">[page()](./puppeteer.frame.page.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -375,7 +375,7 @@ The page associated with the frame.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[parentFrame()](./puppeteer.frame.parentframe.md)
|
||||
<span id="parentframe">[parentFrame()](./puppeteer.frame.parentframe.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -386,7 +386,7 @@ The parent frame, if any. Detached and main frames return `null`.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[select(selector, values)](./puppeteer.frame.select.md)
|
||||
<span id="select">[select(selector, values)](./puppeteer.frame.select.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -397,7 +397,7 @@ Selects a set of value on the first `<select>` element that matches the `selecto
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[setContent(html, options)](./puppeteer.frame.setcontent.md)
|
||||
<span id="setcontent">[setContent(html, options)](./puppeteer.frame.setcontent.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -408,7 +408,7 @@ Set the content of the frame.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[tap(selector)](./puppeteer.frame.tap.md)
|
||||
<span id="tap">[tap(selector)](./puppeteer.frame.tap.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -419,7 +419,7 @@ Taps the first element that matches the `selector`.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[title()](./puppeteer.frame.title.md)
|
||||
<span id="title">[title()](./puppeteer.frame.title.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -430,7 +430,7 @@ The frame's title.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[type(selector, text, options)](./puppeteer.frame.type.md)
|
||||
<span id="type">[type(selector, text, options)](./puppeteer.frame.type.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -441,7 +441,7 @@ Sends a `keydown`, `keypress`/`input`, and `keyup` event for each character in t
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[url()](./puppeteer.frame.url.md)
|
||||
<span id="url">[url()](./puppeteer.frame.url.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -452,7 +452,7 @@ The frame's URL.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[waitForFunction(pageFunction, options, args)](./puppeteer.frame.waitforfunction.md)
|
||||
<span id="waitforfunction">[waitForFunction(pageFunction, options, args)](./puppeteer.frame.waitforfunction.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -461,7 +461,7 @@ The frame's URL.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[waitForNavigation(options)](./puppeteer.frame.waitfornavigation.md)
|
||||
<span id="waitfornavigation">[waitForNavigation(options)](./puppeteer.frame.waitfornavigation.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -474,7 +474,7 @@ Usage of the [History API](https://developer.mozilla.org/en-US/docs/Web/API/Hist
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[waitForSelector(selector, options)](./puppeteer.frame.waitforselector.md)
|
||||
<span id="waitforselector">[waitForSelector(selector, options)](./puppeteer.frame.waitforselector.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
content
|
||||
<span id="content">content</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -54,7 +54,7 @@ JavaScript to be injected into the frame.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
id
|
||||
<span id="id">id</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -73,7 +73,7 @@ Sets the `id` of the script.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
path
|
||||
<span id="path">path</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -92,7 +92,7 @@ Path to a JavaScript file to be injected into the frame.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
type
|
||||
<span id="type">type</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -111,7 +111,7 @@ Sets the `type` of the script. Use `module` in order to load an ES2015 module.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
url
|
||||
<span id="url">url</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
content
|
||||
<span id="content">content</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -54,7 +54,7 @@ Raw CSS content to be injected into the frame.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
path
|
||||
<span id="path">path</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -73,7 +73,7 @@ The path to a CSS file to be injected into the frame.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
url
|
||||
<span id="url">url</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
polling
|
||||
<span id="polling">polling</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -58,7 +58,7 @@ An interval at which the `pageFunction` is executed, defaults to `raf`. If `poll
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
signal
|
||||
<span id="signal">signal</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -77,7 +77,7 @@ A signal object that allows you to cancel a waitForFunction call.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
timeout
|
||||
<span id="timeout">timeout</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
accuracy
|
||||
<span id="accuracy">accuracy</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -54,7 +54,7 @@ Optional non-negative accuracy value.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
latitude
|
||||
<span id="latitude">latitude</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -71,7 +71,7 @@ Longitude between `-180` and `180`.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
longitude
|
||||
<span id="longitude">longitude</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
referer
|
||||
<span id="referer">referer</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -56,7 +56,7 @@ If provided, it will take preference over the referer header value set by [page.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
referrerPolicy
|
||||
<span id="referrerpolicy">referrerPolicy</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -53,7 +53,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
client
|
||||
<span id="client">client</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -87,7 +87,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[abort(errorCode, priority)](./puppeteer.httprequest.abort.md)
|
||||
<span id="abort">[abort(errorCode, priority)](./puppeteer.httprequest.abort.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -98,7 +98,7 @@ Aborts a request.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[abortErrorReason()](./puppeteer.httprequest.aborterrorreason.md)
|
||||
<span id="aborterrorreason">[abortErrorReason()](./puppeteer.httprequest.aborterrorreason.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -109,7 +109,7 @@ The most recent reason for aborting the request
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[continue(overrides, priority)](./puppeteer.httprequest.continue.md)
|
||||
<span id="continue">[continue(overrides, priority)](./puppeteer.httprequest.continue.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -120,7 +120,7 @@ Continues request with optional request overrides.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[continueRequestOverrides()](./puppeteer.httprequest.continuerequestoverrides.md)
|
||||
<span id="continuerequestoverrides">[continueRequestOverrides()](./puppeteer.httprequest.continuerequestoverrides.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -131,7 +131,7 @@ The `ContinueRequestOverrides` that will be used if the interception is allowed
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[enqueueInterceptAction(pendingHandler)](./puppeteer.httprequest.enqueueinterceptaction.md)
|
||||
<span id="enqueueinterceptaction">[enqueueInterceptAction(pendingHandler)](./puppeteer.httprequest.enqueueinterceptaction.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -142,7 +142,7 @@ Adds an async request handler to the processing queue. Deferred handlers are not
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[failure()](./puppeteer.httprequest.failure.md)
|
||||
<span id="failure">[failure()](./puppeteer.httprequest.failure.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -153,7 +153,7 @@ Access information about the request's failure.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[fetchPostData()](./puppeteer.httprequest.fetchpostdata.md)
|
||||
<span id="fetchpostdata">[fetchPostData()](./puppeteer.httprequest.fetchpostdata.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -164,7 +164,7 @@ Fetches the POST data for the request from the browser.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[finalizeInterceptions()](./puppeteer.httprequest.finalizeinterceptions.md)
|
||||
<span id="finalizeinterceptions">[finalizeInterceptions()](./puppeteer.httprequest.finalizeinterceptions.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -175,7 +175,7 @@ Awaits pending interception handlers and then decides how to fulfill the request
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[frame()](./puppeteer.httprequest.frame.md)
|
||||
<span id="frame">[frame()](./puppeteer.httprequest.frame.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -186,7 +186,7 @@ The frame that initiated the request, or null if navigating to error pages.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[hasPostData()](./puppeteer.httprequest.haspostdata.md)
|
||||
<span id="haspostdata">[hasPostData()](./puppeteer.httprequest.haspostdata.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -197,7 +197,7 @@ True when the request has POST data. Note that [HTTPRequest.postData()](./puppet
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[headers()](./puppeteer.httprequest.headers.md)
|
||||
<span id="headers">[headers()](./puppeteer.httprequest.headers.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -208,7 +208,7 @@ An object with HTTP headers associated with the request. All header names are lo
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[initiator()](./puppeteer.httprequest.initiator.md)
|
||||
<span id="initiator">[initiator()](./puppeteer.httprequest.initiator.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -219,7 +219,7 @@ The initiator of the request.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[interceptResolutionState()](./puppeteer.httprequest.interceptresolutionstate.md)
|
||||
<span id="interceptresolutionstate">[interceptResolutionState()](./puppeteer.httprequest.interceptresolutionstate.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -234,7 +234,7 @@ InterceptResolutionAction is one of: `abort`, `respond`, `continue`, `disabled`,
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[isInterceptResolutionHandled()](./puppeteer.httprequest.isinterceptresolutionhandled.md)
|
||||
<span id="isinterceptresolutionhandled">[isInterceptResolutionHandled()](./puppeteer.httprequest.isinterceptresolutionhandled.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -245,7 +245,7 @@ Is `true` if the intercept resolution has already been handled, `false` otherwis
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[isNavigationRequest()](./puppeteer.httprequest.isnavigationrequest.md)
|
||||
<span id="isnavigationrequest">[isNavigationRequest()](./puppeteer.httprequest.isnavigationrequest.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -256,7 +256,7 @@ True if the request is the driver of the current frame's navigation.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[method()](./puppeteer.httprequest.method.md)
|
||||
<span id="method">[method()](./puppeteer.httprequest.method.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -267,7 +267,7 @@ The method used (`GET`, `POST`, etc.)
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[postData()](./puppeteer.httprequest.postdata.md)
|
||||
<span id="postdata">[postData()](./puppeteer.httprequest.postdata.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -278,7 +278,7 @@ The request's post body, if any.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[redirectChain()](./puppeteer.httprequest.redirectchain.md)
|
||||
<span id="redirectchain">[redirectChain()](./puppeteer.httprequest.redirectchain.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -289,7 +289,7 @@ A `redirectChain` is a chain of requests initiated to fetch a resource.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[resourceType()](./puppeteer.httprequest.resourcetype.md)
|
||||
<span id="resourcetype">[resourceType()](./puppeteer.httprequest.resourcetype.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -300,7 +300,7 @@ Contains the request's resource type as it was perceived by the rendering engine
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[respond(response, priority)](./puppeteer.httprequest.respond.md)
|
||||
<span id="respond">[respond(response, priority)](./puppeteer.httprequest.respond.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -311,7 +311,7 @@ Fulfills a request with the given response.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[response()](./puppeteer.httprequest.response.md)
|
||||
<span id="response">[response()](./puppeteer.httprequest.response.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -322,7 +322,7 @@ A matching `HTTPResponse` object, or null if the response has not been received
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[responseForRequest()](./puppeteer.httprequest.responseforrequest.md)
|
||||
<span id="responseforrequest">[responseForRequest()](./puppeteer.httprequest.responseforrequest.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -333,7 +333,7 @@ The `ResponseForRequest` that gets used if the interception is allowed to respon
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[url()](./puppeteer.httprequest.url.md)
|
||||
<span id="url">[url()](./puppeteer.httprequest.url.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -33,7 +33,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[buffer()](./puppeteer.httpresponse.buffer.md)
|
||||
<span id="buffer">[buffer()](./puppeteer.httpresponse.buffer.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -44,7 +44,7 @@ Promise which resolves to a buffer with response body.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[frame()](./puppeteer.httpresponse.frame.md)
|
||||
<span id="frame">[frame()](./puppeteer.httpresponse.frame.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -55,7 +55,7 @@ A [Frame](./puppeteer.frame.md) that initiated this response, or `null` if navig
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[fromCache()](./puppeteer.httpresponse.fromcache.md)
|
||||
<span id="fromcache">[fromCache()](./puppeteer.httpresponse.fromcache.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -66,7 +66,7 @@ True if the response was served from either the browser's disk cache or memory c
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[fromServiceWorker()](./puppeteer.httpresponse.fromserviceworker.md)
|
||||
<span id="fromserviceworker">[fromServiceWorker()](./puppeteer.httpresponse.fromserviceworker.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -77,7 +77,7 @@ True if the response was served by a service worker.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[headers()](./puppeteer.httpresponse.headers.md)
|
||||
<span id="headers">[headers()](./puppeteer.httpresponse.headers.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -88,7 +88,7 @@ An object with HTTP headers associated with the response. All header names are l
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[json()](./puppeteer.httpresponse.json.md)
|
||||
<span id="json">[json()](./puppeteer.httpresponse.json.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -99,7 +99,7 @@ Promise which resolves to a JSON representation of response body.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[ok()](./puppeteer.httpresponse.ok.md)
|
||||
<span id="ok">[ok()](./puppeteer.httpresponse.ok.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -110,7 +110,7 @@ True if the response was successful (status in the range 200-299).
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[remoteAddress()](./puppeteer.httpresponse.remoteaddress.md)
|
||||
<span id="remoteaddress">[remoteAddress()](./puppeteer.httpresponse.remoteaddress.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -121,7 +121,7 @@ The IP address and port number used to connect to the remote server.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[request()](./puppeteer.httpresponse.request.md)
|
||||
<span id="request">[request()](./puppeteer.httpresponse.request.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -132,7 +132,7 @@ A matching [HTTPRequest](./puppeteer.httprequest.md) object.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[securityDetails()](./puppeteer.httpresponse.securitydetails.md)
|
||||
<span id="securitydetails">[securityDetails()](./puppeteer.httpresponse.securitydetails.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -143,7 +143,7 @@ A matching [HTTPRequest](./puppeteer.httprequest.md) object.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[status()](./puppeteer.httpresponse.status.md)
|
||||
<span id="status">[status()](./puppeteer.httpresponse.status.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -154,7 +154,7 @@ The status code of the response (e.g., 200 for a success).
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[statusText()](./puppeteer.httpresponse.statustext.md)
|
||||
<span id="statustext">[statusText()](./puppeteer.httpresponse.statustext.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -165,7 +165,7 @@ The status text of the response (e.g. usually an "OK" for a success).
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[text()](./puppeteer.httpresponse.text.md)
|
||||
<span id="text">[text()](./puppeteer.httpresponse.text.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -176,7 +176,7 @@ Promise which resolves to a text (utf8) representation of response body.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[timing()](./puppeteer.httpresponse.timing.md)
|
||||
<span id="timing">[timing()](./puppeteer.httpresponse.timing.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -187,7 +187,7 @@ Timing information related to the response.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[url()](./puppeteer.httpresponse.url.md)
|
||||
<span id="url">[url()](./puppeteer.httpresponse.url.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
action
|
||||
<span id="action">action</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -50,7 +50,7 @@ action
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
priority
|
||||
<span id="priority">priority</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
offline
|
||||
<span id="offline">offline</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -27,7 +27,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[(constructor)(client)](./puppeteer.jscoverage._constructor_.md)
|
||||
<span id="_constructor_">[(constructor)(client)](./puppeteer.jscoverage._constructor_.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -55,7 +55,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[start(options)](./puppeteer.jscoverage.start.md)
|
||||
<span id="start">[start(options)](./puppeteer.jscoverage.start.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -64,7 +64,7 @@ Description
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[stop()](./puppeteer.jscoverage.stop.md)
|
||||
<span id="stop">[stop()](./puppeteer.jscoverage.stop.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -39,7 +39,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
rawScriptCoverage
|
||||
<span id="rawscriptcoverage">rawScriptCoverage</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
includeRawScriptCoverage
|
||||
<span id="includerawscriptcoverage">includeRawScriptCoverage</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -56,7 +56,7 @@ Whether the result includes raw V8 script coverage entries.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
reportAnonymousScripts
|
||||
<span id="reportanonymousscripts">reportAnonymousScripts</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -75,7 +75,7 @@ Whether anonymous scripts generated by the page should be reported.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
resetOnNavigation
|
||||
<span id="resetonnavigation">resetOnNavigation</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -94,7 +94,7 @@ Whether to reset coverage on every navigation.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
useBlockCoverage
|
||||
<span id="useblockcoverage">useBlockCoverage</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -47,7 +47,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
\_
|
||||
<span id="_">\_</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -64,7 +64,7 @@ Used for nominally typing [JSHandle](./puppeteer.jshandle.md).
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
move
|
||||
<span id="move">move</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -94,7 +94,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[asElement()](./puppeteer.jshandle.aselement.md)
|
||||
<span id="aselement">[asElement()](./puppeteer.jshandle.aselement.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -105,7 +105,7 @@ Either `null` or the handle itself if the handle is an instance of [ElementHandl
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[dispose()](./puppeteer.jshandle.dispose.md)
|
||||
<span id="dispose">[dispose()](./puppeteer.jshandle.dispose.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -116,7 +116,7 @@ Releases the object referenced by the handle for garbage collection.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[evaluate(pageFunction, args)](./puppeteer.jshandle.evaluate.md)
|
||||
<span id="evaluate">[evaluate(pageFunction, args)](./puppeteer.jshandle.evaluate.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -127,7 +127,7 @@ Evaluates the given function with the current handle as its first argument.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[evaluateHandle(pageFunction, args)](./puppeteer.jshandle.evaluatehandle.md)
|
||||
<span id="evaluatehandle">[evaluateHandle(pageFunction, args)](./puppeteer.jshandle.evaluatehandle.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -138,7 +138,7 @@ Evaluates the given function with the current handle as its first argument.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[getProperties()](./puppeteer.jshandle.getproperties.md)
|
||||
<span id="getproperties">[getProperties()](./puppeteer.jshandle.getproperties.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -149,7 +149,7 @@ Gets a map of handles representing the properties of the current handle.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[getProperty(propertyName)](./puppeteer.jshandle.getproperty.md)
|
||||
<span id="getproperty">[getProperty(propertyName)](./puppeteer.jshandle.getproperty.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -160,7 +160,7 @@ Fetches a single property from the referenced object.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[getProperty(propertyName)](./puppeteer.jshandle.getproperty_1.md)
|
||||
<span id="getproperty">[getProperty(propertyName)](./puppeteer.jshandle.getproperty_1.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -169,7 +169,7 @@ Fetches a single property from the referenced object.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[jsonValue()](./puppeteer.jshandle.jsonvalue.md)
|
||||
<span id="jsonvalue">[jsonValue()](./puppeteer.jshandle.jsonvalue.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -180,7 +180,7 @@ A vanilla object representing the serializable portions of the referenced object
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[remoteObject()](./puppeteer.jshandle.remoteobject.md)
|
||||
<span id="remoteobject">[remoteObject()](./puppeteer.jshandle.remoteobject.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -191,7 +191,7 @@ Provides access to the [Protocol.Runtime.RemoteObject](https://chromedevtools.gi
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[toString()](./puppeteer.jshandle.tostring.md)
|
||||
<span id="tostring">[toString()](./puppeteer.jshandle.tostring.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -64,7 +64,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[down(key, options)](./puppeteer.keyboard.down.md)
|
||||
<span id="down">[down(key, options)](./puppeteer.keyboard.down.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -75,7 +75,7 @@ Dispatches a `keydown` event.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[press(key, options)](./puppeteer.keyboard.press.md)
|
||||
<span id="press">[press(key, options)](./puppeteer.keyboard.press.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -86,7 +86,7 @@ Shortcut for [Keyboard.down()](./puppeteer.keyboard.down.md) and [Keyboard.up()]
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[sendCharacter(char)](./puppeteer.keyboard.sendcharacter.md)
|
||||
<span id="sendcharacter">[sendCharacter(char)](./puppeteer.keyboard.sendcharacter.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -97,7 +97,7 @@ Dispatches a `keypress` and `input` event. This does not send a `keydown` or `ke
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[type(text, options)](./puppeteer.keyboard.type.md)
|
||||
<span id="type">[type(text, options)](./puppeteer.keyboard.type.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -108,7 +108,7 @@ Sends a `keydown`, `keypress`/`input`, and `keyup` event for each character in t
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[up(key)](./puppeteer.keyboard.up.md)
|
||||
<span id="up">[up(key)](./puppeteer.keyboard.up.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
delay
|
||||
<span id="delay">delay</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
commands
|
||||
<span id="commands">commands</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -56,7 +56,7 @@ Do not use. This is automatically handled.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
text
|
||||
<span id="text">text</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
channel
|
||||
<span id="channel">channel</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -56,7 +56,7 @@ Chrome Release Channel
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
dumpio
|
||||
<span id="dumpio">dumpio</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -77,7 +77,7 @@ If true, pipes the browser process stdout and stderr to `process.stdout` and `pr
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
env
|
||||
<span id="env">env</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -98,7 +98,7 @@ The contents of `process.env`.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
executablePath
|
||||
<span id="executablepath">executablePath</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -117,7 +117,7 @@ Path to a browser executable to use instead of the bundled Chromium. Note that P
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
extraPrefsFirefox
|
||||
<span id="extraprefsfirefox">extraPrefsFirefox</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -136,7 +136,7 @@ Record<string, unknown>
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
handleSIGHUP
|
||||
<span id="handlesighup">handleSIGHUP</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -157,7 +157,7 @@ Close the browser process on `SIGHUP`.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
handleSIGINT
|
||||
<span id="handlesigint">handleSIGINT</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -178,7 +178,7 @@ Close the browser process on `Ctrl+C`.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
handleSIGTERM
|
||||
<span id="handlesigterm">handleSIGTERM</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -199,7 +199,7 @@ Close the browser process on `SIGTERM`.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
ignoreDefaultArgs
|
||||
<span id="ignoredefaultargs">ignoreDefaultArgs</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -220,7 +220,7 @@ If `true`, do not use `puppeteer.defaultArgs()` when creating a browser. If an a
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
pipe
|
||||
<span id="pipe">pipe</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -241,7 +241,7 @@ Connect to a browser over a pipe instead of a WebSocket.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
product
|
||||
<span id="product">product</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -262,7 +262,7 @@ Which browser to launch.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
timeout
|
||||
<span id="timeout">timeout</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -283,7 +283,7 @@ Maximum time in milliseconds to wait for the browser to start. Pass `0` to disab
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
waitForInitialPage
|
||||
<span id="waitforinitialpage">waitForInitialPage</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
\_
|
||||
<span id="_">\_</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -52,7 +52,7 @@ Used for nominally typing [Locator](./puppeteer.locator.md).
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
timeout
|
||||
<span id="timeout">timeout</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -84,7 +84,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[click(this, options)](./puppeteer.locator.click.md)
|
||||
<span id="click">[click(this, options)](./puppeteer.locator.click.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -93,7 +93,7 @@ Description
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[clone()](./puppeteer.locator.clone.md)
|
||||
<span id="clone">[clone()](./puppeteer.locator.clone.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -104,7 +104,7 @@ Clones the locator.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[fill(this, value, options)](./puppeteer.locator.fill.md)
|
||||
<span id="fill">[fill(this, value, options)](./puppeteer.locator.fill.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -115,7 +115,7 @@ Fills out the input identified by the locator using the provided value. The type
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[filter(predicate)](./puppeteer.locator.filter.md)
|
||||
<span id="filter">[filter(predicate)](./puppeteer.locator.filter.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -128,7 +128,7 @@ If the expectations do not match, then the locator will retry.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[hover(this, options)](./puppeteer.locator.hover.md)
|
||||
<span id="hover">[hover(this, options)](./puppeteer.locator.hover.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -137,7 +137,7 @@ If the expectations do not match, then the locator will retry.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[map(mapper)](./puppeteer.locator.map.md)
|
||||
<span id="map">[map(mapper)](./puppeteer.locator.map.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -148,7 +148,7 @@ Maps the locator using the provided mapper.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[race(locators)](./puppeteer.locator.race.md)
|
||||
<span id="race">[race(locators)](./puppeteer.locator.race.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -161,7 +161,7 @@ Creates a race between multiple locators but ensures that only a single one acts
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[scroll(this, options)](./puppeteer.locator.scroll.md)
|
||||
<span id="scroll">[scroll(this, options)](./puppeteer.locator.scroll.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -170,7 +170,7 @@ Creates a race between multiple locators but ensures that only a single one acts
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[setEnsureElementIsInTheViewport(this, value)](./puppeteer.locator.setensureelementisintheviewport.md)
|
||||
<span id="setensureelementisintheviewport">[setEnsureElementIsInTheViewport(this, value)](./puppeteer.locator.setensureelementisintheviewport.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -179,7 +179,7 @@ Creates a race between multiple locators but ensures that only a single one acts
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[setTimeout(timeout)](./puppeteer.locator.settimeout.md)
|
||||
<span id="settimeout">[setTimeout(timeout)](./puppeteer.locator.settimeout.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -188,7 +188,7 @@ Creates a race between multiple locators but ensures that only a single one acts
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[setVisibility(this, visibility)](./puppeteer.locator.setvisibility.md)
|
||||
<span id="setvisibility">[setVisibility(this, visibility)](./puppeteer.locator.setvisibility.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -197,7 +197,7 @@ Creates a race between multiple locators but ensures that only a single one acts
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[setWaitForEnabled(this, value)](./puppeteer.locator.setwaitforenabled.md)
|
||||
<span id="setwaitforenabled">[setWaitForEnabled(this, value)](./puppeteer.locator.setwaitforenabled.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -206,7 +206,7 @@ Creates a race between multiple locators but ensures that only a single one acts
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[setWaitForStableBoundingBox(this, value)](./puppeteer.locator.setwaitforstableboundingbox.md)
|
||||
<span id="setwaitforstableboundingbox">[setWaitForStableBoundingBox(this, value)](./puppeteer.locator.setwaitforstableboundingbox.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -215,7 +215,7 @@ Creates a race between multiple locators but ensures that only a single one acts
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[wait(options)](./puppeteer.locator.wait.md)
|
||||
<span id="wait">[wait(options)](./puppeteer.locator.wait.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -228,7 +228,7 @@ Note this requires the value to be JSON-serializable.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[waitHandle(options)](./puppeteer.locator.waithandle.md)
|
||||
<span id="waithandle">[waitHandle(options)](./puppeteer.locator.waithandle.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
action
|
||||
<span id="action">action</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
ensureElementIsInTheViewport
|
||||
<span id="ensureelementisintheviewport">ensureElementIsInTheViewport</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -54,7 +54,7 @@ Whether to scroll the element into viewport if not in the viewprot already.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
timeout
|
||||
<span id="timeout">timeout</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -75,7 +75,7 @@ Pass `0` to disable timeout.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
visibility
|
||||
<span id="visibility">visibility</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -92,7 +92,7 @@ Whether to wait for the element to be `visible` or `hidden`. `null` to disable v
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
waitForEnabled
|
||||
<span id="waitforenabled">waitForEnabled</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -111,7 +111,7 @@ Whether to wait for input elements to become enabled before the action. Applicab
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
waitForStableBoundingBox
|
||||
<span id="waitforstableboundingbox">waitForStableBoundingBox</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
scrollLeft
|
||||
<span id="scrollleft">scrollLeft</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -54,7 +54,7 @@ number
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
scrollTop
|
||||
<span id="scrolltop">scrollTop</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
name
|
||||
<span id="name">name</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -50,7 +50,7 @@ string
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
value
|
||||
<span id="value">value</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
Documents
|
||||
<span id="documents">Documents</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -52,7 +52,7 @@ number
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
Frames
|
||||
<span id="frames">Frames</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -69,7 +69,7 @@ number
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
JSEventListeners
|
||||
<span id="jseventlisteners">JSEventListeners</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -86,7 +86,7 @@ number
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
JSHeapTotalSize
|
||||
<span id="jsheaptotalsize">JSHeapTotalSize</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -103,7 +103,7 @@ number
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
JSHeapUsedSize
|
||||
<span id="jsheapusedsize">JSHeapUsedSize</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -120,7 +120,7 @@ number
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
LayoutCount
|
||||
<span id="layoutcount">LayoutCount</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -137,7 +137,7 @@ number
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
LayoutDuration
|
||||
<span id="layoutduration">LayoutDuration</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -154,7 +154,7 @@ number
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
Nodes
|
||||
<span id="nodes">Nodes</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -171,7 +171,7 @@ number
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
RecalcStyleCount
|
||||
<span id="recalcstylecount">RecalcStyleCount</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -188,7 +188,7 @@ number
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
RecalcStyleDuration
|
||||
<span id="recalcstyleduration">RecalcStyleDuration</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -205,7 +205,7 @@ number
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
ScriptDuration
|
||||
<span id="scriptduration">ScriptDuration</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -222,7 +222,7 @@ number
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
TaskDuration
|
||||
<span id="taskduration">TaskDuration</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -239,7 +239,7 @@ number
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
Timestamp
|
||||
<span id="timestamp">Timestamp</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -92,7 +92,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[click(x, y, options)](./puppeteer.mouse.click.md)
|
||||
<span id="click">[click(x, y, options)](./puppeteer.mouse.click.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -103,7 +103,7 @@ Shortcut for `mouse.move`, `mouse.down` and `mouse.up`.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[down(options)](./puppeteer.mouse.down.md)
|
||||
<span id="down">[down(options)](./puppeteer.mouse.down.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -114,7 +114,7 @@ Presses the mouse.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[drag(start, target)](./puppeteer.mouse.drag.md)
|
||||
<span id="drag">[drag(start, target)](./puppeteer.mouse.drag.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -125,7 +125,7 @@ Dispatches a `drag` event.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[dragAndDrop(start, target, options)](./puppeteer.mouse.draganddrop.md)
|
||||
<span id="draganddrop">[dragAndDrop(start, target, options)](./puppeteer.mouse.draganddrop.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -136,7 +136,7 @@ Performs a drag, dragenter, dragover, and drop in sequence.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[dragEnter(target, data)](./puppeteer.mouse.dragenter.md)
|
||||
<span id="dragenter">[dragEnter(target, data)](./puppeteer.mouse.dragenter.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -147,7 +147,7 @@ Dispatches a `dragenter` event.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[dragOver(target, data)](./puppeteer.mouse.dragover.md)
|
||||
<span id="dragover">[dragOver(target, data)](./puppeteer.mouse.dragover.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -158,7 +158,7 @@ Dispatches a `dragover` event.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[drop(target, data)](./puppeteer.mouse.drop.md)
|
||||
<span id="drop">[drop(target, data)](./puppeteer.mouse.drop.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -169,7 +169,7 @@ Performs a dragenter, dragover, and drop in sequence.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[move(x, y, options)](./puppeteer.mouse.move.md)
|
||||
<span id="move">[move(x, y, options)](./puppeteer.mouse.move.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -180,7 +180,7 @@ Moves the mouse to the given coordinate.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[reset()](./puppeteer.mouse.reset.md)
|
||||
<span id="reset">[reset()](./puppeteer.mouse.reset.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -191,7 +191,7 @@ Resets the mouse to the default state: No buttons pressed; position at (0,0).
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[up(options)](./puppeteer.mouse.up.md)
|
||||
<span id="up">[up(options)](./puppeteer.mouse.up.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -202,7 +202,7 @@ Releases the mouse.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[wheel(options)](./puppeteer.mouse.wheel.md)
|
||||
<span id="wheel">[wheel(options)](./puppeteer.mouse.wheel.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
count
|
||||
<span id="count">count</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -58,7 +58,7 @@ Number of clicks to perform.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
delay
|
||||
<span id="delay">delay</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
steps
|
||||
<span id="steps">steps</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
button
|
||||
<span id="button">button</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -56,7 +56,7 @@ Determines which button will be pressed.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
clickCount
|
||||
<span id="clickcount">clickCount</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -72,7 +72,7 @@ Determines the click count for the mouse event. This does not perform multiple c
|
||||
|
||||
**Deprecated:**
|
||||
|
||||
Use [MouseClickOptions.count](./puppeteer.mouseclickoptions.count.md).
|
||||
Use [MouseClickOptions.count](./puppeteer.mouseclickoptions.md#count).
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
deltaX
|
||||
<span id="deltax">deltaX</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -52,7 +52,7 @@ number
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
deltaY
|
||||
<span id="deltay">deltaY</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -23,7 +23,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[move()](./puppeteer.moveable.move.md)
|
||||
<span id="move">[move()](./puppeteer.moveable.move.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
download
|
||||
<span id="download">download</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -52,7 +52,7 @@ Download speed (bytes/s)
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
latency
|
||||
<span id="latency">latency</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -69,7 +69,7 @@ Latency (ms)
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
upload
|
||||
<span id="upload">upload</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
identifier
|
||||
<span id="identifier">identifier</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
x
|
||||
<span id="x">x</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -52,7 +52,7 @@ x-offset for the clickable point relative to the top-left corner of the border b
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
y
|
||||
<span id="y">y</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -4,7 +4,7 @@ sidebar_label: Page.click
|
||||
|
||||
# Page.click() method
|
||||
|
||||
This method fetches an element with `selector`, scrolls it into view if needed, and then uses [Page.mouse](./puppeteer.page.md) to click in the center of the element. If there's no element matching `selector`, the method throws an error.
|
||||
This method fetches an element with `selector`, scrolls it into view if needed, and then uses [Page.mouse](./puppeteer.page.md#mouse) to click in the center of the element. If there's no element matching `selector`, the method throws an error.
|
||||
|
||||
#### Signature:
|
||||
|
||||
|
@ -4,7 +4,7 @@ sidebar_label: Page.hover
|
||||
|
||||
# Page.hover() method
|
||||
|
||||
This method fetches an element with `selector`, scrolls it into view if needed, and then uses [Page.mouse](./puppeteer.page.md) to hover over the center of the element. If there's no element matching `selector`, the method throws an error.
|
||||
This method fetches an element with `selector`, scrolls it into view if needed, and then uses [Page.mouse](./puppeteer.page.md#mouse) to hover over the center of the element. If there's no element matching `selector`, the method throws an error.
|
||||
|
||||
#### Signature:
|
||||
|
||||
|
@ -6,7 +6,7 @@ sidebar_label: Page.isDragInterceptionEnabled
|
||||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> We no longer support intercepting drag payloads. Use the new drag APIs found on [ElementHandle](./puppeteer.elementhandle.md) to drag (or just use the [Page.mouse](./puppeteer.page.md)).
|
||||
> We no longer support intercepting drag payloads. Use the new drag APIs found on [ElementHandle](./puppeteer.elementhandle.md) to drag (or just use the [Page.mouse](./puppeteer.page.md#mouse)).
|
||||
|
||||
`true` if drag events are being intercepted, `false` otherwise.
|
||||
|
||||
|
@ -82,7 +82,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
accessibility
|
||||
<span id="accessibility">accessibility</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -99,7 +99,7 @@ The Accessibility class provides methods for inspecting the browser's accessibil
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
coverage
|
||||
<span id="coverage">coverage</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -116,7 +116,7 @@ The Coverage class provides methods to gather information about parts of JavaScr
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
keyboard
|
||||
<span id="keyboard">keyboard</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -133,7 +133,7 @@ Keyboard provides an api for managing a virtual keyboard. The high level api is
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
mouse
|
||||
<span id="mouse">mouse</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -150,7 +150,7 @@ The Mouse class operates in main-frame CSS pixels relative to the top-left corne
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
touchscreen
|
||||
<span id="touchscreen">touchscreen</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -167,7 +167,7 @@ The Touchscreen class exposes touchscreen events.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
tracing
|
||||
<span id="tracing">tracing</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -201,7 +201,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[$(selector)](./puppeteer.page._.md)
|
||||
<span id="_">[$(selector)](./puppeteer.page._.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -212,7 +212,7 @@ Runs `document.querySelector` within the page. If no element matches the selecto
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[$$(selector)](./puppeteer.page.__.md)
|
||||
<span id="__">[$$(selector)](./puppeteer.page.__.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -223,7 +223,7 @@ The method runs `document.querySelectorAll` within the page. If no elements matc
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[$$eval(selector, pageFunction, args)](./puppeteer.page.__eval.md)
|
||||
<span id="__eval">[$$eval(selector, pageFunction, args)](./puppeteer.page.__eval.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -234,7 +234,7 @@ This method runs `Array.from(document.querySelectorAll(selector))` within the pa
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[$eval(selector, pageFunction, args)](./puppeteer.page._eval.md)
|
||||
<span id="_eval">[$eval(selector, pageFunction, args)](./puppeteer.page._eval.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -245,7 +245,7 @@ This method runs `document.querySelector` within the page and passes the result
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[addScriptTag(options)](./puppeteer.page.addscripttag.md)
|
||||
<span id="addscripttag">[addScriptTag(options)](./puppeteer.page.addscripttag.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -256,7 +256,7 @@ Adds a `<script>` tag into the page with the desired URL or content.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[addStyleTag(options)](./puppeteer.page.addstyletag.md)
|
||||
<span id="addstyletag">[addStyleTag(options)](./puppeteer.page.addstyletag.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -269,7 +269,7 @@ Shortcut for [page.mainFrame().addStyleTag(options)](./puppeteer.frame.addstylet
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[addStyleTag(options)](./puppeteer.page.addstyletag_1.md)
|
||||
<span id="addstyletag">[addStyleTag(options)](./puppeteer.page.addstyletag_1.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -278,7 +278,7 @@ Shortcut for [page.mainFrame().addStyleTag(options)](./puppeteer.frame.addstylet
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[authenticate(credentials)](./puppeteer.page.authenticate.md)
|
||||
<span id="authenticate">[authenticate(credentials)](./puppeteer.page.authenticate.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -289,7 +289,7 @@ Provide credentials for `HTTP authentication`.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[bringToFront()](./puppeteer.page.bringtofront.md)
|
||||
<span id="bringtofront">[bringToFront()](./puppeteer.page.bringtofront.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -300,7 +300,7 @@ Brings page to front (activates tab).
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[browser()](./puppeteer.page.browser.md)
|
||||
<span id="browser">[browser()](./puppeteer.page.browser.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -311,7 +311,7 @@ Get the browser the page belongs to.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[browserContext()](./puppeteer.page.browsercontext.md)
|
||||
<span id="browsercontext">[browserContext()](./puppeteer.page.browsercontext.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -322,18 +322,18 @@ Get the browser context that the page belongs to.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[click(selector, options)](./puppeteer.page.click.md)
|
||||
<span id="click">[click(selector, options)](./puppeteer.page.click.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
</td><td>
|
||||
|
||||
This method fetches an element with `selector`, scrolls it into view if needed, and then uses [Page.mouse](./puppeteer.page.md) to click in the center of the element. If there's no element matching `selector`, the method throws an error.
|
||||
This method fetches an element with `selector`, scrolls it into view if needed, and then uses [Page.mouse](./puppeteer.page.md#mouse) to click in the center of the element. If there's no element matching `selector`, the method throws an error.
|
||||
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[close(options)](./puppeteer.page.close.md)
|
||||
<span id="close">[close(options)](./puppeteer.page.close.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -342,7 +342,7 @@ This method fetches an element with `selector`, scrolls it into view if needed,
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[content()](./puppeteer.page.content.md)
|
||||
<span id="content">[content()](./puppeteer.page.content.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -353,7 +353,7 @@ The full HTML contents of the page, including the DOCTYPE.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[cookies(urls)](./puppeteer.page.cookies.md)
|
||||
<span id="cookies">[cookies(urls)](./puppeteer.page.cookies.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -364,7 +364,7 @@ If no URLs are specified, this method returns cookies for the current page URL.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[createCDPSession()](./puppeteer.page.createcdpsession.md)
|
||||
<span id="createcdpsession">[createCDPSession()](./puppeteer.page.createcdpsession.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -375,7 +375,7 @@ Creates a Chrome Devtools Protocol session attached to the page.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[createPDFStream(options)](./puppeteer.page.createpdfstream.md)
|
||||
<span id="createpdfstream">[createPDFStream(options)](./puppeteer.page.createpdfstream.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -386,7 +386,7 @@ Generates a PDF of the page with the `print` CSS media type.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[deleteCookie(cookies)](./puppeteer.page.deletecookie.md)
|
||||
<span id="deletecookie">[deleteCookie(cookies)](./puppeteer.page.deletecookie.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -395,7 +395,7 @@ Generates a PDF of the page with the `print` CSS media type.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[emulate(device)](./puppeteer.page.emulate.md)
|
||||
<span id="emulate">[emulate(device)](./puppeteer.page.emulate.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -408,7 +408,7 @@ To aid emulation, Puppeteer provides a list of known devices that can be via [Kn
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[emulateCPUThrottling(factor)](./puppeteer.page.emulatecputhrottling.md)
|
||||
<span id="emulatecputhrottling">[emulateCPUThrottling(factor)](./puppeteer.page.emulatecputhrottling.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -419,7 +419,7 @@ Enables CPU throttling to emulate slow CPUs.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[emulateIdleState(overrides)](./puppeteer.page.emulateidlestate.md)
|
||||
<span id="emulateidlestate">[emulateIdleState(overrides)](./puppeteer.page.emulateidlestate.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -430,7 +430,7 @@ Emulates the idle state. If no arguments set, clears idle state emulation.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[emulateMediaFeatures(features)](./puppeteer.page.emulatemediafeatures.md)
|
||||
<span id="emulatemediafeatures">[emulateMediaFeatures(features)](./puppeteer.page.emulatemediafeatures.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -439,7 +439,7 @@ Emulates the idle state. If no arguments set, clears idle state emulation.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[emulateMediaType(type)](./puppeteer.page.emulatemediatype.md)
|
||||
<span id="emulatemediatype">[emulateMediaType(type)](./puppeteer.page.emulatemediatype.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -448,7 +448,7 @@ Emulates the idle state. If no arguments set, clears idle state emulation.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[emulateNetworkConditions(networkConditions)](./puppeteer.page.emulatenetworkconditions.md)
|
||||
<span id="emulatenetworkconditions">[emulateNetworkConditions(networkConditions)](./puppeteer.page.emulatenetworkconditions.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -461,7 +461,7 @@ A list of predefined network conditions can be used by importing [PredefinedNetw
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[emulateTimezone(timezoneId)](./puppeteer.page.emulatetimezone.md)
|
||||
<span id="emulatetimezone">[emulateTimezone(timezoneId)](./puppeteer.page.emulatetimezone.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -470,7 +470,7 @@ A list of predefined network conditions can be used by importing [PredefinedNetw
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[emulateVisionDeficiency(type)](./puppeteer.page.emulatevisiondeficiency.md)
|
||||
<span id="emulatevisiondeficiency">[emulateVisionDeficiency(type)](./puppeteer.page.emulatevisiondeficiency.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -481,7 +481,7 @@ Simulates the given vision deficiency on the page.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[evaluate(pageFunction, args)](./puppeteer.page.evaluate.md)
|
||||
<span id="evaluate">[evaluate(pageFunction, args)](./puppeteer.page.evaluate.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -494,7 +494,7 @@ If the function passed to `page.evaluate` returns a Promise, the function will w
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[evaluateHandle(pageFunction, args)](./puppeteer.page.evaluatehandle.md)
|
||||
<span id="evaluatehandle">[evaluateHandle(pageFunction, args)](./puppeteer.page.evaluatehandle.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -503,7 +503,7 @@ If the function passed to `page.evaluate` returns a Promise, the function will w
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[evaluateOnNewDocument(pageFunction, args)](./puppeteer.page.evaluateonnewdocument.md)
|
||||
<span id="evaluateonnewdocument">[evaluateOnNewDocument(pageFunction, args)](./puppeteer.page.evaluateonnewdocument.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -520,7 +520,7 @@ The function is invoked after the document was created but before any of its scr
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[exposeFunction(name, pptrFunction)](./puppeteer.page.exposefunction.md)
|
||||
<span id="exposefunction">[exposeFunction(name, pptrFunction)](./puppeteer.page.exposefunction.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -539,7 +539,7 @@ Functions installed via `page.exposeFunction` survive navigations.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[focus(selector)](./puppeteer.page.focus.md)
|
||||
<span id="focus">[focus(selector)](./puppeteer.page.focus.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -550,7 +550,7 @@ This method fetches an element with `selector` and focuses it. If there's no ele
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[frames()](./puppeteer.page.frames.md)
|
||||
<span id="frames">[frames()](./puppeteer.page.frames.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -561,7 +561,7 @@ An array of all frames attached to the page.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[getDefaultTimeout()](./puppeteer.page.getdefaulttimeout.md)
|
||||
<span id="getdefaulttimeout">[getDefaultTimeout()](./puppeteer.page.getdefaulttimeout.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -572,7 +572,7 @@ Maximum time in milliseconds.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[goBack(options)](./puppeteer.page.goback.md)
|
||||
<span id="goback">[goBack(options)](./puppeteer.page.goback.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -583,7 +583,7 @@ This method navigate to the previous page in history.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[goForward(options)](./puppeteer.page.goforward.md)
|
||||
<span id="goforward">[goForward(options)](./puppeteer.page.goforward.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -594,7 +594,7 @@ This method navigate to the next page in history.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[goto(url, options)](./puppeteer.page.goto.md)
|
||||
<span id="goto">[goto(url, options)](./puppeteer.page.goto.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -605,18 +605,18 @@ Navigates the page to the given `url`.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[hover(selector)](./puppeteer.page.hover.md)
|
||||
<span id="hover">[hover(selector)](./puppeteer.page.hover.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
</td><td>
|
||||
|
||||
This method fetches an element with `selector`, scrolls it into view if needed, and then uses [Page.mouse](./puppeteer.page.md) to hover over the center of the element. If there's no element matching `selector`, the method throws an error.
|
||||
This method fetches an element with `selector`, scrolls it into view if needed, and then uses [Page.mouse](./puppeteer.page.md#mouse) to hover over the center of the element. If there's no element matching `selector`, the method throws an error.
|
||||
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[isClosed()](./puppeteer.page.isclosed.md)
|
||||
<span id="isclosed">[isClosed()](./puppeteer.page.isclosed.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -627,7 +627,7 @@ Indicates that the page has been closed.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[isDragInterceptionEnabled()](./puppeteer.page.isdraginterceptionenabled.md)
|
||||
<span id="isdraginterceptionenabled">[isDragInterceptionEnabled()](./puppeteer.page.isdraginterceptionenabled.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -639,12 +639,12 @@ Indicates that the page has been closed.
|
||||
|
||||
**Deprecated:**
|
||||
|
||||
We no longer support intercepting drag payloads. Use the new drag APIs found on [ElementHandle](./puppeteer.elementhandle.md) to drag (or just use the [Page.mouse](./puppeteer.page.md)).
|
||||
We no longer support intercepting drag payloads. Use the new drag APIs found on [ElementHandle](./puppeteer.elementhandle.md) to drag (or just use the [Page.mouse](./puppeteer.page.md#mouse)).
|
||||
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[isJavaScriptEnabled()](./puppeteer.page.isjavascriptenabled.md)
|
||||
<span id="isjavascriptenabled">[isJavaScriptEnabled()](./puppeteer.page.isjavascriptenabled.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -655,7 +655,7 @@ We no longer support intercepting drag payloads. Use the new drag APIs found on
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[isServiceWorkerBypassed()](./puppeteer.page.isserviceworkerbypassed.md)
|
||||
<span id="isserviceworkerbypassed">[isServiceWorkerBypassed()](./puppeteer.page.isserviceworkerbypassed.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -666,7 +666,7 @@ We no longer support intercepting drag payloads. Use the new drag APIs found on
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[locator(selector)](./puppeteer.page.locator.md)
|
||||
<span id="locator">[locator(selector)](./puppeteer.page.locator.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -677,7 +677,7 @@ Creates a locator for the provided selector. See [Locator](./puppeteer.locator.m
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[locator(func)](./puppeteer.page.locator_1.md)
|
||||
<span id="locator">[locator(func)](./puppeteer.page.locator_1.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -688,7 +688,7 @@ Creates a locator for the provided function. See [Locator](./puppeteer.locator.m
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[mainFrame()](./puppeteer.page.mainframe.md)
|
||||
<span id="mainframe">[mainFrame()](./puppeteer.page.mainframe.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -699,7 +699,7 @@ The page's main frame.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[metrics()](./puppeteer.page.metrics.md)
|
||||
<span id="metrics">[metrics()](./puppeteer.page.metrics.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -710,7 +710,7 @@ Object containing metrics as key/value pairs.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[pdf(options)](./puppeteer.page.pdf.md)
|
||||
<span id="pdf">[pdf(options)](./puppeteer.page.pdf.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -721,7 +721,7 @@ Generates a PDF of the page with the `print` CSS media type.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[queryObjects(prototypeHandle)](./puppeteer.page.queryobjects.md)
|
||||
<span id="queryobjects">[queryObjects(prototypeHandle)](./puppeteer.page.queryobjects.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -732,7 +732,7 @@ This method iterates the JavaScript heap and finds all objects with the given pr
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[reload(options)](./puppeteer.page.reload.md)
|
||||
<span id="reload">[reload(options)](./puppeteer.page.reload.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -743,7 +743,7 @@ Reloads the page.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[removeExposedFunction(name)](./puppeteer.page.removeexposedfunction.md)
|
||||
<span id="removeexposedfunction">[removeExposedFunction(name)](./puppeteer.page.removeexposedfunction.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -754,7 +754,7 @@ The method removes a previously added function via $[Page.exposeFunction()](./pu
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[removeScriptToEvaluateOnNewDocument(identifier)](./puppeteer.page.removescripttoevaluateonnewdocument.md)
|
||||
<span id="removescripttoevaluateonnewdocument">[removeScriptToEvaluateOnNewDocument(identifier)](./puppeteer.page.removescripttoevaluateonnewdocument.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -765,7 +765,7 @@ Removes script that injected into page by Page.evaluateOnNewDocument.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[screencast(options)](./puppeteer.page.screencast.md)
|
||||
<span id="screencast">[screencast(options)](./puppeteer.page.screencast.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -776,7 +776,7 @@ Captures a screencast of this [page](./puppeteer.page.md).
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[screenshot(options)](./puppeteer.page.screenshot.md)
|
||||
<span id="screenshot">[screenshot(options)](./puppeteer.page.screenshot.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -787,7 +787,7 @@ Captures a screenshot of this [page](./puppeteer.page.md).
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[screenshot(options)](./puppeteer.page.screenshot_1.md)
|
||||
<span id="screenshot">[screenshot(options)](./puppeteer.page.screenshot_1.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -796,7 +796,7 @@ Captures a screenshot of this [page](./puppeteer.page.md).
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[select(selector, values)](./puppeteer.page.select.md)
|
||||
<span id="select">[select(selector, values)](./puppeteer.page.select.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -807,7 +807,7 @@ Triggers a `change` and `input` event once all the provided options have been se
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[setBypassCSP(enabled)](./puppeteer.page.setbypasscsp.md)
|
||||
<span id="setbypasscsp">[setBypassCSP(enabled)](./puppeteer.page.setbypasscsp.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -818,7 +818,7 @@ Toggles bypassing page's Content-Security-Policy.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[setBypassServiceWorker(bypass)](./puppeteer.page.setbypassserviceworker.md)
|
||||
<span id="setbypassserviceworker">[setBypassServiceWorker(bypass)](./puppeteer.page.setbypassserviceworker.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -829,7 +829,7 @@ Toggles ignoring of service worker for each request.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[setCacheEnabled(enabled)](./puppeteer.page.setcacheenabled.md)
|
||||
<span id="setcacheenabled">[setCacheEnabled(enabled)](./puppeteer.page.setcacheenabled.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -840,7 +840,7 @@ Toggles ignoring cache for each request based on the enabled state. By default,
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[setContent(html, options)](./puppeteer.page.setcontent.md)
|
||||
<span id="setcontent">[setContent(html, options)](./puppeteer.page.setcontent.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -851,7 +851,7 @@ Set the content of the page.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[setCookie(cookies)](./puppeteer.page.setcookie.md)
|
||||
<span id="setcookie">[setCookie(cookies)](./puppeteer.page.setcookie.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -860,7 +860,7 @@ Set the content of the page.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[setDefaultNavigationTimeout(timeout)](./puppeteer.page.setdefaultnavigationtimeout.md)
|
||||
<span id="setdefaultnavigationtimeout">[setDefaultNavigationTimeout(timeout)](./puppeteer.page.setdefaultnavigationtimeout.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -883,7 +883,7 @@ This setting will change the default maximum navigation time for the following m
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[setDefaultTimeout(timeout)](./puppeteer.page.setdefaulttimeout.md)
|
||||
<span id="setdefaulttimeout">[setDefaultTimeout(timeout)](./puppeteer.page.setdefaulttimeout.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -892,7 +892,7 @@ This setting will change the default maximum navigation time for the following m
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[setDragInterception(enabled)](./puppeteer.page.setdraginterception.md)
|
||||
<span id="setdraginterception">[setDragInterception(enabled)](./puppeteer.page.setdraginterception.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -902,12 +902,12 @@ This setting will change the default maximum navigation time for the following m
|
||||
|
||||
**Deprecated:**
|
||||
|
||||
We no longer support intercepting drag payloads. Use the new drag APIs found on [ElementHandle](./puppeteer.elementhandle.md) to drag (or just use the [Page.mouse](./puppeteer.page.md)).
|
||||
We no longer support intercepting drag payloads. Use the new drag APIs found on [ElementHandle](./puppeteer.elementhandle.md) to drag (or just use the [Page.mouse](./puppeteer.page.md#mouse)).
|
||||
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[setExtraHTTPHeaders(headers)](./puppeteer.page.setextrahttpheaders.md)
|
||||
<span id="setextrahttpheaders">[setExtraHTTPHeaders(headers)](./puppeteer.page.setextrahttpheaders.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -930,7 +930,7 @@ page.setExtraHTTPHeaders does not guarantee the order of headers in the outgoing
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[setGeolocation(options)](./puppeteer.page.setgeolocation.md)
|
||||
<span id="setgeolocation">[setGeolocation(options)](./puppeteer.page.setgeolocation.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -941,7 +941,7 @@ Sets the page's geolocation.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[setJavaScriptEnabled(enabled)](./puppeteer.page.setjavascriptenabled.md)
|
||||
<span id="setjavascriptenabled">[setJavaScriptEnabled(enabled)](./puppeteer.page.setjavascriptenabled.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -950,7 +950,7 @@ Sets the page's geolocation.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[setOfflineMode(enabled)](./puppeteer.page.setofflinemode.md)
|
||||
<span id="setofflinemode">[setOfflineMode(enabled)](./puppeteer.page.setofflinemode.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -963,7 +963,7 @@ It does not change the parameters used in [Page.emulateNetworkConditions()](./pu
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[setRequestInterception(value)](./puppeteer.page.setrequestinterception.md)
|
||||
<span id="setrequestinterception">[setRequestInterception(value)](./puppeteer.page.setrequestinterception.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -978,7 +978,7 @@ See the [Request interception guide](https://pptr.dev/next/guides/request-interc
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[setUserAgent(userAgent, userAgentMetadata)](./puppeteer.page.setuseragent.md)
|
||||
<span id="setuseragent">[setUserAgent(userAgent, userAgentMetadata)](./puppeteer.page.setuseragent.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -987,7 +987,7 @@ See the [Request interception guide](https://pptr.dev/next/guides/request-interc
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[setViewport(viewport)](./puppeteer.page.setviewport.md)
|
||||
<span id="setviewport">[setViewport(viewport)](./puppeteer.page.setviewport.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -1000,18 +1000,18 @@ In the case of multiple pages in a single browser, each page can have its own vi
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[tap(selector)](./puppeteer.page.tap.md)
|
||||
<span id="tap">[tap(selector)](./puppeteer.page.tap.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
</td><td>
|
||||
|
||||
This method fetches an element with `selector`, scrolls it into view if needed, and then uses [Page.touchscreen](./puppeteer.page.md) to tap in the center of the element. If there's no element matching `selector`, the method throws an error.
|
||||
This method fetches an element with `selector`, scrolls it into view if needed, and then uses [Page.touchscreen](./puppeteer.page.md#touchscreen) to tap in the center of the element. If there's no element matching `selector`, the method throws an error.
|
||||
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[target()](./puppeteer.page.target.md)
|
||||
<span id="target">[target()](./puppeteer.page.target.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -1028,7 +1028,7 @@ Use [Page.createCDPSession()](./puppeteer.page.createcdpsession.md) directly.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[title()](./puppeteer.page.title.md)
|
||||
<span id="title">[title()](./puppeteer.page.title.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -1039,7 +1039,7 @@ The page's title
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[type(selector, text, options)](./puppeteer.page.type.md)
|
||||
<span id="type">[type(selector, text, options)](./puppeteer.page.type.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -1052,7 +1052,7 @@ To press a special key, like `Control` or `ArrowDown`, use [Keyboard.press()](./
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[url()](./puppeteer.page.url.md)
|
||||
<span id="url">[url()](./puppeteer.page.url.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -1063,7 +1063,7 @@ The page's URL.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[viewport()](./puppeteer.page.viewport.md)
|
||||
<span id="viewport">[viewport()](./puppeteer.page.viewport.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -1071,12 +1071,12 @@ The page's URL.
|
||||
|
||||
Returns the current page viewport settings without checking the actual page viewport.
|
||||
|
||||
This is either the viewport set with the previous [Page.setViewport()](./puppeteer.page.setviewport.md) call or the default viewport set via [BrowserConnectOptions.defaultViewport](./puppeteer.browserconnectoptions.md).
|
||||
This is either the viewport set with the previous [Page.setViewport()](./puppeteer.page.setviewport.md) call or the default viewport set via [BrowserConnectOptions.defaultViewport](./puppeteer.browserconnectoptions.md#defaultviewport).
|
||||
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[waitForDevicePrompt(options)](./puppeteer.page.waitfordeviceprompt.md)
|
||||
<span id="waitfordeviceprompt">[waitForDevicePrompt(options)](./puppeteer.page.waitfordeviceprompt.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -1093,7 +1093,7 @@ This must be called before the device request is made. It will not return a curr
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[waitForFileChooser(options)](./puppeteer.page.waitforfilechooser.md)
|
||||
<span id="waitforfilechooser">[waitForFileChooser(options)](./puppeteer.page.waitforfilechooser.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -1110,7 +1110,7 @@ This must be called before the file chooser is launched. It will not return a cu
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[waitForFrame(urlOrPredicate, options)](./puppeteer.page.waitforframe.md)
|
||||
<span id="waitforframe">[waitForFrame(urlOrPredicate, options)](./puppeteer.page.waitforframe.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -1121,7 +1121,7 @@ Waits for a frame matching the given conditions to appear.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[waitForFunction(pageFunction, options, args)](./puppeteer.page.waitforfunction.md)
|
||||
<span id="waitforfunction">[waitForFunction(pageFunction, options, args)](./puppeteer.page.waitforfunction.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -1132,7 +1132,7 @@ Waits for the provided function, `pageFunction`, to return a truthy value when e
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[waitForNavigation(options)](./puppeteer.page.waitfornavigation.md)
|
||||
<span id="waitfornavigation">[waitForNavigation(options)](./puppeteer.page.waitfornavigation.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -1143,7 +1143,7 @@ Waits for the page to navigate to a new URL or to reload. It is useful when you
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[waitForNetworkIdle(options)](./puppeteer.page.waitfornetworkidle.md)
|
||||
<span id="waitfornetworkidle">[waitForNetworkIdle(options)](./puppeteer.page.waitfornetworkidle.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -1154,7 +1154,7 @@ Waits for the network to be idle.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[waitForRequest(urlOrPredicate, options)](./puppeteer.page.waitforrequest.md)
|
||||
<span id="waitforrequest">[waitForRequest(urlOrPredicate, options)](./puppeteer.page.waitforrequest.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -1163,7 +1163,7 @@ Waits for the network to be idle.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[waitForResponse(urlOrPredicate, options)](./puppeteer.page.waitforresponse.md)
|
||||
<span id="waitforresponse">[waitForResponse(urlOrPredicate, options)](./puppeteer.page.waitforresponse.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -1172,7 +1172,7 @@ Waits for the network to be idle.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[waitForSelector(selector, options)](./puppeteer.page.waitforselector.md)
|
||||
<span id="waitforselector">[waitForSelector(selector, options)](./puppeteer.page.waitforselector.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -1183,7 +1183,7 @@ Wait for the `selector` to appear in page. If at the moment of calling the metho
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[workers()](./puppeteer.page.workers.md)
|
||||
<span id="workers">[workers()](./puppeteer.page.workers.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -6,7 +6,7 @@ sidebar_label: Page.setDragInterception
|
||||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> We no longer support intercepting drag payloads. Use the new drag APIs found on [ElementHandle](./puppeteer.elementhandle.md) to drag (or just use the [Page.mouse](./puppeteer.page.md)).
|
||||
> We no longer support intercepting drag payloads. Use the new drag APIs found on [ElementHandle](./puppeteer.elementhandle.md) to drag (or just use the [Page.mouse](./puppeteer.page.md#mouse)).
|
||||
|
||||
#### Signature:
|
||||
|
||||
|
@ -4,7 +4,7 @@ sidebar_label: Page.tap
|
||||
|
||||
# Page.tap() method
|
||||
|
||||
This method fetches an element with `selector`, scrolls it into view if needed, and then uses [Page.touchscreen](./puppeteer.page.md) to tap in the center of the element. If there's no element matching `selector`, the method throws an error.
|
||||
This method fetches an element with `selector`, scrolls it into view if needed, and then uses [Page.touchscreen](./puppeteer.page.md#touchscreen) to tap in the center of the element. If there's no element matching `selector`, the method throws an error.
|
||||
|
||||
#### Signature:
|
||||
|
||||
|
@ -6,7 +6,7 @@ sidebar_label: Page.viewport
|
||||
|
||||
Returns the current page viewport settings without checking the actual page viewport.
|
||||
|
||||
This is either the viewport set with the previous [Page.setViewport()](./puppeteer.page.setviewport.md) call or the default viewport set via [BrowserConnectOptions.defaultViewport](./puppeteer.browserconnectoptions.md).
|
||||
This is either the viewport set with the previous [Page.setViewport()](./puppeteer.page.setviewport.md) call or the default viewport set via [BrowserConnectOptions.defaultViewport](./puppeteer.browserconnectoptions.md#defaultviewport).
|
||||
|
||||
#### Signature:
|
||||
|
||||
|
@ -41,7 +41,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
close
|
||||
<span id="close">close</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -56,7 +56,7 @@ undefined
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
console
|
||||
<span id="console">console</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -71,7 +71,7 @@ console
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
dialog
|
||||
<span id="dialog">dialog</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -86,7 +86,7 @@ dialog
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
domcontentloaded
|
||||
<span id="domcontentloaded">domcontentloaded</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -101,7 +101,7 @@ undefined
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
error
|
||||
<span id="error">error</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -116,7 +116,7 @@ Error
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
frameattached
|
||||
<span id="frameattached">frameattached</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -131,7 +131,7 @@ frameattached
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
framedetached
|
||||
<span id="framedetached">framedetached</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -146,7 +146,7 @@ framedetached
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
framenavigated
|
||||
<span id="framenavigated">framenavigated</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -161,7 +161,7 @@ framenavigated
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
load
|
||||
<span id="load">load</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -176,7 +176,7 @@ undefined
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
metrics
|
||||
<span id="metrics">metrics</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -191,7 +191,7 @@ metrics
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
pageerror
|
||||
<span id="pageerror">pageerror</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -206,7 +206,7 @@ Error
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
popup
|
||||
<span id="popup">popup</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -221,7 +221,7 @@ popup
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
request
|
||||
<span id="request">request</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -236,7 +236,7 @@ request
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
requestfailed
|
||||
<span id="requestfailed">requestfailed</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -251,7 +251,7 @@ requestfailed
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
requestfinished
|
||||
<span id="requestfinished">requestfinished</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -266,7 +266,7 @@ requestfinished
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
requestservedfromcache
|
||||
<span id="requestservedfromcache">requestservedfromcache</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -281,7 +281,7 @@ requestservedfromcache
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
response
|
||||
<span id="response">response</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -296,7 +296,7 @@ response
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
workercreated
|
||||
<span id="workercreated">workercreated</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -311,7 +311,7 @@ workercreated
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
workerdestroyed
|
||||
<span id="workerdestroyed">workerdestroyed</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
bottom
|
||||
<span id="bottom">bottom</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -52,7 +52,7 @@ string \| number
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
left
|
||||
<span id="left">left</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -69,7 +69,7 @@ string \| number
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
right
|
||||
<span id="right">right</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -86,7 +86,7 @@ string \| number
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
top
|
||||
<span id="top">top</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
displayHeaderFooter
|
||||
<span id="displayheaderfooter">displayHeaderFooter</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -58,7 +58,7 @@ Whether to show the header and footer.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
footerTemplate
|
||||
<span id="footertemplate">footerTemplate</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -70,14 +70,14 @@ string
|
||||
|
||||
</td><td>
|
||||
|
||||
HTML template for the print footer. Has the same constraints and support for special classes as [PDFOptions.headerTemplate](./puppeteer.pdfoptions.md).
|
||||
HTML template for the print footer. Has the same constraints and support for special classes as [PDFOptions.headerTemplate](./puppeteer.pdfoptions.md#headertemplate).
|
||||
|
||||
</td><td>
|
||||
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
format
|
||||
<span id="format">format</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -96,7 +96,7 @@ format
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
headerTemplate
|
||||
<span id="headertemplate">headerTemplate</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -125,7 +125,7 @@ HTML template for the print header. Should be valid HTML with the following clas
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
height
|
||||
<span id="height">height</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -144,7 +144,7 @@ Sets the height of paper. You can pass in a number or a string with a unit.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
landscape
|
||||
<span id="landscape">landscape</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -165,7 +165,7 @@ Whether to print in landscape orientation.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
margin
|
||||
<span id="margin">margin</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -186,7 +186,7 @@ Set the PDF margins.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
omitBackground
|
||||
<span id="omitbackground">omitBackground</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -207,7 +207,7 @@ Hides default white background and allows generating pdfs with transparency.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
outline
|
||||
<span id="outline">outline</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -228,7 +228,7 @@ Generate document outline.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
pageRanges
|
||||
<span id="pageranges">pageRanges</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -249,7 +249,7 @@ The empty string, which means all pages are printed.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
path
|
||||
<span id="path">path</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -270,7 +270,7 @@ The path to save the file to.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
preferCSSPageSize
|
||||
<span id="prefercsspagesize">preferCSSPageSize</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -291,7 +291,7 @@ Give any CSS `@page` size declared in the page priority over what is declared in
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
printBackground
|
||||
<span id="printbackground">printBackground</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -312,7 +312,7 @@ Set to `true` to print background graphics.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
scale
|
||||
<span id="scale">scale</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -333,7 +333,7 @@ Scales the rendering of the web page. Amount must be between `0.1` and `2`.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
tagged
|
||||
<span id="tagged">tagged</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -354,7 +354,7 @@ Generate tagged (accessible) PDF.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
timeout
|
||||
<span id="timeout">timeout</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -375,7 +375,7 @@ Timeout in milliseconds. Pass `0` to disable timeout.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
width
|
||||
<span id="width">width</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
x
|
||||
<span id="x">x</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -50,7 +50,7 @@ number
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
y
|
||||
<span id="y">y</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
product
|
||||
<span id="product">product</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -69,7 +69,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[defaultArgs(object)](./puppeteer.productlauncher.defaultargs.md)
|
||||
<span id="defaultargs">[defaultArgs(object)](./puppeteer.productlauncher.defaultargs.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -78,7 +78,7 @@ Description
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[executablePath(channel)](./puppeteer.productlauncher.executablepath.md)
|
||||
<span id="executablepath">[executablePath(channel)](./puppeteer.productlauncher.executablepath.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -87,7 +87,7 @@ Description
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[launch(options)](./puppeteer.productlauncher.launch.md)
|
||||
<span id="launch">[launch(options)](./puppeteer.productlauncher.launch.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
code
|
||||
<span id="code">code</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -50,7 +50,7 @@ number \| undefined
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
originalMessage
|
||||
<span id="originalmessage">originalMessage</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
extraPrefsFirefox
|
||||
<span id="extraprefsfirefox">extraPrefsFirefox</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -54,7 +54,7 @@ Record<string, unknown>
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
product
|
||||
<span id="product">product</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -6,7 +6,7 @@ sidebar_label: PuppeteerNode.launch
|
||||
|
||||
Launches a browser instance with given arguments and options when specified.
|
||||
|
||||
When using with `puppeteer-core`, [options.executablePath](./puppeteer.launchoptions.md) or [options.channel](./puppeteer.launchoptions.md) must be provided.
|
||||
When using with `puppeteer-core`, [options.executablePath](./puppeteer.launchoptions.md#executablepath) or [options.channel](./puppeteer.launchoptions.md#channel) must be provided.
|
||||
|
||||
#### Signature:
|
||||
|
||||
@ -55,7 +55,7 @@ Puppeteer can also be used to control the Chrome browser, but it works best with
|
||||
|
||||
## Example
|
||||
|
||||
You can use [options.ignoreDefaultArgs](./puppeteer.launchoptions.md) to filter out `--mute-audio` from default arguments:
|
||||
You can use [options.ignoreDefaultArgs](./puppeteer.launchoptions.md#ignoredefaultargs) to filter out `--mute-audio` from default arguments:
|
||||
|
||||
```ts
|
||||
const browser = await puppeteer.launch({
|
||||
|
@ -63,7 +63,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
defaultProduct
|
||||
<span id="defaultproduct">defaultProduct</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -80,7 +80,7 @@ The name of the browser that will be launched by default. For `puppeteer`, this
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
lastLaunchedProduct
|
||||
<span id="lastlaunchedproduct">lastLaunchedProduct</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -97,7 +97,7 @@ The name of the browser that was last launched.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
product
|
||||
<span id="product">product</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -111,7 +111,7 @@ string
|
||||
|
||||
**Deprecated:**
|
||||
|
||||
Do not use as this field as it does not take into account multiple browsers of different types. Use [defaultProduct](./puppeteer.puppeteernode.defaultproduct.md) or [lastLaunchedProduct](./puppeteer.puppeteernode.lastlaunchedproduct.md).
|
||||
Do not use as this field as it does not take into account multiple browsers of different types. Use [defaultProduct](./puppeteer.puppeteernode.md#defaultproduct) or [lastLaunchedProduct](./puppeteer.puppeteernode.md#lastlaunchedproduct).
|
||||
|
||||
</td></tr>
|
||||
</tbody></table>
|
||||
@ -133,7 +133,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[connect(options)](./puppeteer.puppeteernode.connect.md)
|
||||
<span id="connect">[connect(options)](./puppeteer.puppeteernode.connect.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -144,7 +144,7 @@ This method attaches Puppeteer to an existing browser instance.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[defaultArgs(options)](./puppeteer.puppeteernode.defaultargs.md)
|
||||
<span id="defaultargs">[defaultArgs(options)](./puppeteer.puppeteernode.defaultargs.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -153,7 +153,7 @@ This method attaches Puppeteer to an existing browser instance.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[executablePath(channel)](./puppeteer.puppeteernode.executablepath.md)
|
||||
<span id="executablepath">[executablePath(channel)](./puppeteer.puppeteernode.executablepath.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -164,7 +164,7 @@ The default executable path.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[launch(options)](./puppeteer.puppeteernode.launch.md)
|
||||
<span id="launch">[launch(options)](./puppeteer.puppeteernode.launch.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -172,12 +172,12 @@ The default executable path.
|
||||
|
||||
Launches a browser instance with given arguments and options when specified.
|
||||
|
||||
When using with `puppeteer-core`, [options.executablePath](./puppeteer.launchoptions.md) or [options.channel](./puppeteer.launchoptions.md) must be provided.
|
||||
When using with `puppeteer-core`, [options.executablePath](./puppeteer.launchoptions.md#executablepath) or [options.channel](./puppeteer.launchoptions.md#channel) must be provided.
|
||||
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
[trimCache()](./puppeteer.puppeteernode.trimcache.md)
|
||||
<span id="trimcache">[trimCache()](./puppeteer.puppeteernode.trimcache.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
ip
|
||||
<span id="ip">ip</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -52,7 +52,7 @@ string
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
port
|
||||
<span id="port">port</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -37,7 +37,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
body
|
||||
<span id="body">body</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -52,7 +52,7 @@ string \| Buffer
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
contentType
|
||||
<span id="contenttype">contentType</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -67,7 +67,7 @@ string
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
headers
|
||||
<span id="headers">headers</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -84,7 +84,7 @@ Optional response headers. All values are converted to strings.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
status
|
||||
<span id="status">status</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Default
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
crop
|
||||
<span id="crop">crop</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -54,7 +54,7 @@ Specifies the region of the viewport to crop.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
ffmpegPath
|
||||
<span id="ffmpegpath">ffmpegPath</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -75,7 +75,7 @@ Required if `ffmpeg` is not in your PATH.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
path
|
||||
<span id="path">path</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -94,7 +94,7 @@ File path to save the screencast to.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
scale
|
||||
<span id="scale">scale</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
@ -117,7 +117,7 @@ For example, `0.5` will shrink the width and height of the output video by half.
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
speed
|
||||
<span id="speed">speed</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
@ -33,7 +33,7 @@ Description
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
[stop()](./puppeteer.screenrecorder.stop.md)
|
||||
<span id="stop">[stop()](./puppeteer.screenrecorder.stop.md)</span>
|
||||
|
||||
</td><td>
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user