docs: remove unhelpful api pages (#9933)

This commit is contained in:
Nikolay Vitkov 2023-03-28 20:02:00 +02:00 committed by GitHub
parent 9af680d3e5
commit a99abc9a2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
342 changed files with 1142 additions and 5150 deletions

View File

@ -1,15 +0,0 @@
---
sidebar_label: BoundingBox.height
---
# BoundingBox.height property
the height of the element in pixels.
#### Signature:
```typescript
interface BoundingBox {
height: number;
}
```

View File

@ -15,6 +15,6 @@ export interface BoundingBox extends Point
## Properties ## Properties
| Property | Modifiers | Type | Description | Default | | Property | Modifiers | Type | Description | Default |
| ------------------------------------------- | --------- | ------ | ------------------------------------ | ------- | | -------- | --------- | ------ | ------------------------------------ | ------- |
| [height](./puppeteer.boundingbox.height.md) | | number | the height of the element in pixels. | | | height | | number | the height of the element in pixels. | |
| [width](./puppeteer.boundingbox.width.md) | | number | the width of the element in pixels. | | | width | | number | the width of the element in pixels. | |

View File

@ -1,15 +0,0 @@
---
sidebar_label: BoundingBox.width
---
# BoundingBox.width property
the width of the element in pixels.
#### Signature:
```typescript
interface BoundingBox {
width: number;
}
```

View File

@ -1,13 +0,0 @@
---
sidebar_label: BoxModel.border
---
# BoxModel.border property
#### Signature:
```typescript
interface BoxModel {
border: Point[];
}
```

View File

@ -1,13 +0,0 @@
---
sidebar_label: BoxModel.content
---
# BoxModel.content property
#### Signature:
```typescript
interface BoxModel {
content: Point[];
}
```

View File

@ -1,13 +0,0 @@
---
sidebar_label: BoxModel.height
---
# BoxModel.height property
#### Signature:
```typescript
interface BoxModel {
height: number;
}
```

View File

@ -1,13 +0,0 @@
---
sidebar_label: BoxModel.margin
---
# BoxModel.margin property
#### Signature:
```typescript
interface BoxModel {
margin: Point[];
}
```

View File

@ -13,10 +13,10 @@ export interface BoxModel
## Properties ## Properties
| Property | Modifiers | Type | Description | Default | | Property | Modifiers | Type | Description | Default |
| ------------------------------------------ | --------- | --------------------------------- | ----------- | ------- | | -------- | --------- | --------------------------------- | ----------- | ------- |
| [border](./puppeteer.boxmodel.border.md) | | [Point](./puppeteer.point.md)\[\] | | | | border | | [Point](./puppeteer.point.md)\[\] | | |
| [content](./puppeteer.boxmodel.content.md) | | [Point](./puppeteer.point.md)\[\] | | | | content | | [Point](./puppeteer.point.md)\[\] | | |
| [height](./puppeteer.boxmodel.height.md) | | number | | | | height | | number | | |
| [margin](./puppeteer.boxmodel.margin.md) | | [Point](./puppeteer.point.md)\[\] | | | | margin | | [Point](./puppeteer.point.md)\[\] | | |
| [padding](./puppeteer.boxmodel.padding.md) | | [Point](./puppeteer.point.md)\[\] | | | | padding | | [Point](./puppeteer.point.md)\[\] | | |
| [width](./puppeteer.boxmodel.width.md) | | number | | | | width | | number | | |

View File

@ -1,13 +0,0 @@
---
sidebar_label: BoxModel.padding
---
# BoxModel.padding property
#### Signature:
```typescript
interface BoxModel {
padding: Point[];
}
```

View File

@ -1,13 +0,0 @@
---
sidebar_label: BoxModel.width
---
# BoxModel.width property
#### Signature:
```typescript
interface BoxModel {
width: number;
}
```

View File

@ -1,15 +0,0 @@
---
sidebar_label: BrowserConnectOptions.defaultViewport
---
# BrowserConnectOptions.defaultViewport property
Sets the viewport for each page.
#### Signature:
```typescript
interface BrowserConnectOptions {
defaultViewport?: Viewport | null;
}
```

View File

@ -1,19 +0,0 @@
---
sidebar_label: BrowserConnectOptions.ignoreHTTPSErrors
---
# BrowserConnectOptions.ignoreHTTPSErrors property
Whether to ignore HTTPS errors during navigation.
#### Signature:
```typescript
interface BrowserConnectOptions {
ignoreHTTPSErrors?: boolean;
}
```
#### Default value:
false

View File

@ -15,9 +15,9 @@ export interface BrowserConnectOptions
## Properties ## Properties
| Property | Modifiers | Type | Description | Default | | Property | Modifiers | Type | Description | Default |
| ---------------------------------------------------------------------------- | --------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ------- | | ----------------- | --------------------- | ----------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ------- |
| [defaultViewport?](./puppeteer.browserconnectoptions.defaultviewport.md) | | [Viewport](./puppeteer.viewport.md) \| null | _(Optional)_ Sets the viewport for each page. | | | defaultViewport | <code>optional</code> | [Viewport](./puppeteer.viewport.md) \| null | Sets the viewport for each page. | |
| [ignoreHTTPSErrors?](./puppeteer.browserconnectoptions.ignorehttpserrors.md) | | boolean | _(Optional)_ Whether to ignore HTTPS errors during navigation. | false | | ignoreHTTPSErrors | <code>optional</code> | boolean | Whether to ignore HTTPS errors during navigation. | false |
| [protocolTimeout?](./puppeteer.browserconnectoptions.protocoltimeout.md) | | number | _(Optional)_ Timeout setting for individual protocol (CDP) calls. | 180000 | | protocolTimeout | <code>optional</code> | number | Timeout setting for individual protocol (CDP) calls. | 180000 |
| [slowMo?](./puppeteer.browserconnectoptions.slowmo.md) | | number | _(Optional)_ Slows down Puppeteer operations by the specified amount of milliseconds to aid debugging. | | | slowMo | <code>optional</code> | number | Slows down Puppeteer operations by the specified amount of milliseconds to aid debugging. | |
| [targetFilter?](./puppeteer.browserconnectoptions.targetfilter.md) | | [TargetFilterCallback](./puppeteer.targetfiltercallback.md) | _(Optional)_ Callback to decide if Puppeteer should connect to a given target or not. | | | targetFilter | <code>optional</code> | [TargetFilterCallback](./puppeteer.targetfiltercallback.md) | Callback to decide if Puppeteer should connect to a given target or not. | |

View File

@ -1,19 +0,0 @@
---
sidebar_label: BrowserConnectOptions.protocolTimeout
---
# BrowserConnectOptions.protocolTimeout property
Timeout setting for individual protocol (CDP) calls.
#### Signature:
```typescript
interface BrowserConnectOptions {
protocolTimeout?: number;
}
```
#### Default value:
180000

View File

@ -1,15 +0,0 @@
---
sidebar_label: BrowserConnectOptions.slowMo
---
# BrowserConnectOptions.slowMo property
Slows down Puppeteer operations by the specified amount of milliseconds to aid debugging.
#### Signature:
```typescript
interface BrowserConnectOptions {
slowMo?: number;
}
```

View File

@ -1,15 +0,0 @@
---
sidebar_label: BrowserConnectOptions.targetFilter
---
# BrowserConnectOptions.targetFilter property
Callback to decide if Puppeteer should connect to a given target or not.
#### Signature:
```typescript
interface BrowserConnectOptions {
targetFilter?: TargetFilterCallback;
}
```

View File

@ -1,13 +0,0 @@
---
sidebar_label: BrowserContext.id
---
# BrowserContext.id property
#### Signature:
```typescript
class BrowserContext {
get id(): string | undefined;
}
```

View File

@ -40,8 +40,8 @@ await context.close();
## Properties ## Properties
| Property | Modifiers | Type | Description | | Property | Modifiers | Type | Description |
| -------------------------------------- | --------------------- | ------------------- | ----------- | | -------- | --------------------- | ------------------- | ----------- |
| [id](./puppeteer.browsercontext.id.md) | <code>readonly</code> | string \| undefined | | | id | <code>readonly</code> | string \| undefined | |
## Methods ## Methods

View File

@ -15,6 +15,6 @@ export interface BrowserContextOptions
## Properties ## Properties
| Property | Modifiers | Type | Description | Default | | Property | Modifiers | Type | Description | Default |
| ------------------------------------------------------------------------ | --------- | ---------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ------- | | --------------- | --------------------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------- | ------- |
| [proxyBypassList?](./puppeteer.browsercontextoptions.proxybypasslist.md) | | string\[\] | _(Optional)_ Bypass the proxy for the given list of hosts. | | | proxyBypassList | <code>optional</code> | string\[\] | Bypass the proxy for the given list of hosts. | |
| [proxyServer?](./puppeteer.browsercontextoptions.proxyserver.md) | | string | _(Optional)_ Proxy server with optional port to use for all requests. Username and password can be set in <code>Page.authenticate</code>. | | | proxyServer | <code>optional</code> | string | Proxy server with optional port to use for all requests. Username and password can be set in <code>Page.authenticate</code>. | |

View File

@ -1,15 +0,0 @@
---
sidebar_label: BrowserContextOptions.proxyBypassList
---
# BrowserContextOptions.proxyBypassList property
Bypass the proxy for the given list of hosts.
#### Signature:
```typescript
interface BrowserContextOptions {
proxyBypassList?: string[];
}
```

View File

@ -1,15 +0,0 @@
---
sidebar_label: BrowserContextOptions.proxyServer
---
# BrowserContextOptions.proxyServer property
Proxy server with optional port to use for all requests. Username and password can be set in `Page.authenticate`.
#### Signature:
```typescript
interface BrowserContextOptions {
proxyServer?: string;
}
```

View File

@ -1,21 +0,0 @@
---
sidebar_label: BrowserFetcherOptions.host
---
# BrowserFetcherOptions.host property
Determines the host that will be used for downloading.
#### Signature:
```typescript
interface BrowserFetcherOptions {
host?: string;
}
```
#### Default value:
Either
- https://storage.googleapis.com or - https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central

View File

@ -13,9 +13,9 @@ export interface BrowserFetcherOptions
## Properties ## Properties
| Property | Modifiers | Type | Description | Default | | Property | Modifiers | Type | Description | Default |
| ---------------------------------------------------------------------------- | --------- | ----------------------------------- | ------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | | ----------------- | --------------------- | ----------------------------------- | ------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------- |
| [host?](./puppeteer.browserfetcheroptions.host.md) | | string | _(Optional)_ Determines the host that will be used for downloading. | <p>Either</p><p>- https://storage.googleapis.com or - https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central</p> | | host | <code>optional</code> | string | Determines the host that will be used for downloading. | <p>Either</p><p>- https://storage.googleapis.com or - https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central</p> |
| [path](./puppeteer.browserfetcheroptions.path.md) | | string | Determines the path to download browsers to. | | | path | | string | Determines the path to download browsers to. | |
| [platform?](./puppeteer.browserfetcheroptions.platform.md) | | [Platform](./puppeteer.platform.md) | _(Optional)_ Determines which platform the browser will be suited for. | Auto-detected. | | platform | <code>optional</code> | [Platform](./puppeteer.platform.md) | Determines which platform the browser will be suited for. | Auto-detected. |
| [product?](./puppeteer.browserfetcheroptions.product.md) | | 'chrome' \| 'firefox' | _(Optional)_ Determines which product the [BrowserFetcher](./puppeteer.browserfetcher.md) is for. | <code>&quot;chrome&quot;</code>. | | product | <code>optional</code> | 'chrome' \| 'firefox' | Determines which product the [BrowserFetcher](./puppeteer.browserfetcher.md) is for. | <code>&quot;chrome&quot;</code>. |
| [useMacOSARMBinary?](./puppeteer.browserfetcheroptions.usemacosarmbinary.md) | | boolean | _(Optional)_ Enables the use of the Chromium binary for macOS ARM. | | | useMacOSARMBinary | <code>optional</code> | boolean | Enables the use of the Chromium binary for macOS ARM. | |

View File

@ -1,15 +0,0 @@
---
sidebar_label: BrowserFetcherOptions.path
---
# BrowserFetcherOptions.path property
Determines the path to download browsers to.
#### Signature:
```typescript
interface BrowserFetcherOptions {
path: string;
}
```

View File

@ -1,19 +0,0 @@
---
sidebar_label: BrowserFetcherOptions.platform
---
# BrowserFetcherOptions.platform property
Determines which platform the browser will be suited for.
#### Signature:
```typescript
interface BrowserFetcherOptions {
platform?: Platform;
}
```
#### Default value:
Auto-detected.

View File

@ -1,19 +0,0 @@
---
sidebar_label: BrowserFetcherOptions.product
---
# BrowserFetcherOptions.product property
Determines which product the [BrowserFetcher](./puppeteer.browserfetcher.md) is for.
#### Signature:
```typescript
interface BrowserFetcherOptions {
product?: 'chrome' | 'firefox';
}
```
#### Default value:
`"chrome"`.

View File

@ -1,15 +0,0 @@
---
sidebar_label: BrowserFetcherOptions.useMacOSARMBinary
---
# BrowserFetcherOptions.useMacOSARMBinary property
Enables the use of the Chromium binary for macOS ARM.
#### Signature:
```typescript
interface BrowserFetcherOptions {
useMacOSARMBinary?: boolean;
}
```

View File

@ -1,13 +0,0 @@
---
sidebar_label: BrowserFetcherRevisionInfo.executablePath
---
# BrowserFetcherRevisionInfo.executablePath property
#### Signature:
```typescript
interface BrowserFetcherRevisionInfo {
executablePath: string;
}
```

View File

@ -1,13 +0,0 @@
---
sidebar_label: BrowserFetcherRevisionInfo.folderPath
---
# BrowserFetcherRevisionInfo.folderPath property
#### Signature:
```typescript
interface BrowserFetcherRevisionInfo {
folderPath: string;
}
```

View File

@ -1,13 +0,0 @@
---
sidebar_label: BrowserFetcherRevisionInfo.local
---
# BrowserFetcherRevisionInfo.local property
#### Signature:
```typescript
interface BrowserFetcherRevisionInfo {
local: boolean;
}
```

View File

@ -13,10 +13,10 @@ export interface BrowserFetcherRevisionInfo
## Properties ## Properties
| Property | Modifiers | Type | Description | Default | | Property | Modifiers | Type | Description | Default |
| -------------------------------------------------------------------------- | --------- | ------- | ----------- | ------- | | -------------- | --------- | ------- | ----------- | ------- |
| [executablePath](./puppeteer.browserfetcherrevisioninfo.executablepath.md) | | string | | | | executablePath | | string | | |
| [folderPath](./puppeteer.browserfetcherrevisioninfo.folderpath.md) | | string | | | | folderPath | | string | | |
| [local](./puppeteer.browserfetcherrevisioninfo.local.md) | | boolean | | | | local | | boolean | | |
| [product](./puppeteer.browserfetcherrevisioninfo.product.md) | | string | | | | product | | string | | |
| [revision](./puppeteer.browserfetcherrevisioninfo.revision.md) | | string | | | | revision | | string | | |
| [url](./puppeteer.browserfetcherrevisioninfo.url.md) | | string | | | | url | | string | | |

View File

@ -1,13 +0,0 @@
---
sidebar_label: BrowserFetcherRevisionInfo.product
---
# BrowserFetcherRevisionInfo.product property
#### Signature:
```typescript
interface BrowserFetcherRevisionInfo {
product: string;
}
```

View File

@ -1,13 +0,0 @@
---
sidebar_label: BrowserFetcherRevisionInfo.revision
---
# BrowserFetcherRevisionInfo.revision property
#### Signature:
```typescript
interface BrowserFetcherRevisionInfo {
revision: string;
}
```

View File

@ -1,13 +0,0 @@
---
sidebar_label: BrowserFetcherRevisionInfo.url
---
# BrowserFetcherRevisionInfo.url property
#### Signature:
```typescript
interface BrowserFetcherRevisionInfo {
url: string;
}
```

View File

@ -1,15 +0,0 @@
---
sidebar_label: BrowserLaunchArgumentOptions.args
---
# BrowserLaunchArgumentOptions.args property
Additional command line arguments to pass to the browser instance.
#### Signature:
```typescript
interface BrowserLaunchArgumentOptions {
args?: string[];
}
```

View File

@ -1,13 +0,0 @@
---
sidebar_label: BrowserLaunchArgumentOptions.debuggingPort
---
# BrowserLaunchArgumentOptions.debuggingPort property
#### Signature:
```typescript
interface BrowserLaunchArgumentOptions {
debuggingPort?: number;
}
```

View File

@ -1,19 +0,0 @@
---
sidebar_label: BrowserLaunchArgumentOptions.devtools
---
# BrowserLaunchArgumentOptions.devtools property
Whether to auto-open a DevTools panel for each tab. If this is set to `true`, then `headless` will be forced to `false`.
#### Signature:
```typescript
interface BrowserLaunchArgumentOptions {
devtools?: boolean;
}
```
#### Default value:
`false`

View File

@ -1,19 +0,0 @@
---
sidebar_label: BrowserLaunchArgumentOptions.headless
---
# BrowserLaunchArgumentOptions.headless property
Whether to run the browser in headless mode.
#### Signature:
```typescript
interface BrowserLaunchArgumentOptions {
headless?: boolean | 'new';
}
```
#### Default value:
true

View File

@ -15,9 +15,9 @@ export interface BrowserLaunchArgumentOptions
## Properties ## Properties
| Property | Modifiers | Type | Description | Default | | Property | Modifiers | Type | Description | Default |
| --------------------------------------------------------------------------- | --------- | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | | ------------- | --------------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ |
| [args?](./puppeteer.browserlaunchargumentoptions.args.md) | | string\[\] | _(Optional)_ Additional command line arguments to pass to the browser instance. | | | args | <code>optional</code> | string\[\] | Additional command line arguments to pass to the browser instance. | |
| [debuggingPort?](./puppeteer.browserlaunchargumentoptions.debuggingport.md) | | number | _(Optional)_ | | | debuggingPort | <code>optional</code> | number | | |
| [devtools?](./puppeteer.browserlaunchargumentoptions.devtools.md) | | boolean | _(Optional)_ Whether to auto-open a DevTools panel for each tab. If this is set to <code>true</code>, then <code>headless</code> will be forced to <code>false</code>. | <code>false</code> | | devtools | <code>optional</code> | boolean | Whether to auto-open a DevTools panel for each tab. If this is set to <code>true</code>, then <code>headless</code> will be forced to <code>false</code>. | <code>false</code> |
| [headless?](./puppeteer.browserlaunchargumentoptions.headless.md) | | boolean \| 'new' | _(Optional)_ Whether to run the browser in headless mode. | true | | headless | <code>optional</code> | boolean \| 'new' | Whether to run the browser in headless mode. | true |
| [userDataDir?](./puppeteer.browserlaunchargumentoptions.userdatadir.md) | | string | _(Optional)_ Path to a user data directory. [see the Chromium docs](https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/user_data_dir.md) for more info. | | | userDataDir | <code>optional</code> | string | Path to a user data directory. [see the Chromium docs](https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/user_data_dir.md) for more info. | |

View File

@ -1,15 +0,0 @@
---
sidebar_label: BrowserLaunchArgumentOptions.userDataDir
---
# BrowserLaunchArgumentOptions.userDataDir property
Path to a user data directory. [see the Chromium docs](https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/user_data_dir.md) for more info.
#### Signature:
```typescript
interface BrowserLaunchArgumentOptions {
userDataDir?: string;
}
```

View File

@ -1,17 +0,0 @@
---
sidebar_label: CDPSessionOnMessageObject.error
---
# CDPSessionOnMessageObject.error property
#### Signature:
```typescript
interface CDPSessionOnMessageObject {
error: {
message: string;
data: any;
code: number;
};
}
```

View File

@ -1,13 +0,0 @@
---
sidebar_label: CDPSessionOnMessageObject.id
---
# CDPSessionOnMessageObject.id property
#### Signature:
```typescript
interface CDPSessionOnMessageObject {
id?: number;
}
```

View File

@ -13,9 +13,9 @@ export interface CDPSessionOnMessageObject
## Properties ## Properties
| Property | Modifiers | Type | Description | Default | | Property | Modifiers | Type | Description | Default |
| ---------------------------------------------------------- | --------- | --------------------------------------------- | ------------ | ------- | | -------- | --------------------- | --------------------------------------------- | ----------- | ------- |
| [error](./puppeteer.cdpsessiononmessageobject.error.md) | | { message: string; data: any; code: number; } | | | | error | | { message: string; data: any; code: number; } | | |
| [id?](./puppeteer.cdpsessiononmessageobject.id.md) | | number | _(Optional)_ | | | id | <code>optional</code> | number | | |
| [method](./puppeteer.cdpsessiononmessageobject.method.md) | | string | | | | method | | string | | |
| [params](./puppeteer.cdpsessiononmessageobject.params.md) | | Record&lt;string, unknown&gt; | | | | params | | Record&lt;string, unknown&gt; | | |
| [result?](./puppeteer.cdpsessiononmessageobject.result.md) | | any | _(Optional)_ | | | result | <code>optional</code> | any | | |

View File

@ -1,13 +0,0 @@
---
sidebar_label: CDPSessionOnMessageObject.method
---
# CDPSessionOnMessageObject.method property
#### Signature:
```typescript
interface CDPSessionOnMessageObject {
method: string;
}
```

View File

@ -1,13 +0,0 @@
---
sidebar_label: CDPSessionOnMessageObject.params
---
# CDPSessionOnMessageObject.params property
#### Signature:
```typescript
interface CDPSessionOnMessageObject {
params: Record<string, unknown>;
}
```

View File

@ -1,13 +0,0 @@
---
sidebar_label: CDPSessionOnMessageObject.result
---
# CDPSessionOnMessageObject.result property
#### Signature:
```typescript
interface CDPSessionOnMessageObject {
result?: any;
}
```

View File

@ -1,17 +0,0 @@
---
sidebar_label: ClickOptions.button
---
# ClickOptions.button property
#### Signature:
```typescript
interface ClickOptions {
button?: MouseButton;
}
```
#### Default value:
'left'

View File

@ -1,17 +0,0 @@
---
sidebar_label: ClickOptions.clickCount
---
# ClickOptions.clickCount property
#### Signature:
```typescript
interface ClickOptions {
clickCount?: number;
}
```
#### Default value:
1

View File

@ -1,19 +0,0 @@
---
sidebar_label: ClickOptions.delay
---
# ClickOptions.delay property
Time to wait between `mousedown` and `mouseup` in milliseconds.
#### Signature:
```typescript
interface ClickOptions {
delay?: number;
}
```
#### Default value:
0

View File

@ -13,8 +13,8 @@ export interface ClickOptions
## Properties ## Properties
| Property | Modifiers | Type | Description | Default | | Property | Modifiers | Type | Description | Default |
| ----------------------------------------------------- | --------- | ----------------------------------------- | -------------------------------------------------------------------------------------------------- | ------- | | ---------- | --------------------- | ----------------------------------------- | ------------------------------------------------------------------------------------- | ------- |
| [button?](./puppeteer.clickoptions.button.md) | | [MouseButton](./puppeteer.mousebutton.md) | _(Optional)_ | 'left' | | button | <code>optional</code> | [MouseButton](./puppeteer.mousebutton.md) | | 'left' |
| [clickCount?](./puppeteer.clickoptions.clickcount.md) | | number | _(Optional)_ | 1 | | clickCount | <code>optional</code> | number | | 1 |
| [delay?](./puppeteer.clickoptions.delay.md) | | number | _(Optional)_ Time to wait between <code>mousedown</code> and <code>mouseup</code> in milliseconds. | 0 | | delay | <code>optional</code> | number | Time to wait between <code>mousedown</code> and <code>mouseup</code> in milliseconds. | 0 |
| [offset?](./puppeteer.clickoptions.offset.md) | | [Offset](./puppeteer.offset.md) | _(Optional)_ Offset for the clickable point relative to the top-left corner of the border box. | | | offset | <code>optional</code> | [Offset](./puppeteer.offset.md) | Offset for the clickable point relative to the top-left corner of the border box. | |

View File

@ -1,15 +0,0 @@
---
sidebar_label: ClickOptions.offset
---
# ClickOptions.offset property
Offset for the clickable point relative to the top-left corner of the border box.
#### Signature:
```typescript
interface ClickOptions {
offset?: Offset;
}
```

View File

@ -1,23 +0,0 @@
---
sidebar_label: Configuration.browserRevision
---
# Configuration.browserRevision property
Specifies a certain version of the browser you'd like Puppeteer to use.
Can be overridden by `PUPPETEER_BROWSER_REVISION`.
See [puppeteer.launch](./puppeteer.puppeteernode.launch.md) on how executable path is inferred.
#### Signature:
```typescript
interface Configuration {
browserRevision?: string;
}
```
#### Default value:
A compatible-revision of the browser.

View File

@ -1,21 +0,0 @@
---
sidebar_label: Configuration.cacheDirectory
---
# Configuration.cacheDirectory property
Defines the directory to be used by Puppeteer for caching.
Can be overridden by `PUPPETEER_CACHE_DIR`.
#### Signature:
```typescript
interface Configuration {
cacheDirectory?: string;
}
```
#### Default value:
`path.join(os.homedir(), '.cache', 'puppeteer')`

View File

@ -1,21 +0,0 @@
---
sidebar_label: Configuration.defaultProduct
---
# Configuration.defaultProduct property
Specifies which browser you'd like Puppeteer to use.
Can be overridden by `PUPPETEER_PRODUCT`.
#### Signature:
```typescript
interface Configuration {
defaultProduct?: Product;
}
```
#### Default value:
`'chrome'`

View File

@ -1,25 +0,0 @@
---
sidebar_label: Configuration.downloadHost
---
# Configuration.downloadHost property
Specifies the URL prefix that is used to download Chromium.
Can be overridden by `PUPPETEER_DOWNLOAD_HOST`.
#### Signature:
```typescript
interface Configuration {
downloadHost?: string;
}
```
#### Default value:
Either https://storage.googleapis.com or https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central, depending on the product.
## Remarks
This must include the protocol and may even need a path prefix.

View File

@ -1,21 +0,0 @@
---
sidebar_label: Configuration.downloadPath
---
# Configuration.downloadPath property
Specifies the path for the downloads folder.
Can be overridden by `PUPPETEER_DOWNLOAD_PATH`.
#### Signature:
```typescript
interface Configuration {
downloadPath?: string;
}
```
#### Default value:
`<cache>/<product>` where `<cache>` is Puppeteer's cache directory and `<product>` is the name of the browser.

View File

@ -1,21 +0,0 @@
---
sidebar_label: Configuration.executablePath
---
# Configuration.executablePath property
Specifies an executable path to be used in [puppeteer.launch](./puppeteer.puppeteernode.launch.md).
Can be overridden by `PUPPETEER_EXECUTABLE_PATH`.
#### Signature:
```typescript
interface Configuration {
executablePath?: string;
}
```
#### Default value:
Auto-computed.

View File

@ -1,15 +0,0 @@
---
sidebar_label: Configuration.experiments
---
# Configuration.experiments property
Defines experimental options for Puppeteer.
#### Signature:
```typescript
interface Configuration {
experiments?: ExperimentsConfiguration;
}
```

View File

@ -1,21 +0,0 @@
---
sidebar_label: Configuration.logLevel
---
# Configuration.logLevel property
Tells Puppeteer to log at the given level.
At the moment, any option silences logging.
#### Signature:
```typescript
interface Configuration {
logLevel?: 'silent' | 'error' | 'warn';
}
```
#### Default value:
`undefined`

View File

@ -17,14 +17,14 @@ export interface Configuration
## Properties ## Properties
| Property | Modifiers | Type | Description | Default | | Property | Modifiers | Type | Description | Default |
| ---------------------------------------------------------------------- | --------- | ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ------------------ | --------------------- | ------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [browserRevision?](./puppeteer.configuration.browserrevision.md) | | string | <p>_(Optional)_ Specifies a certain version of the browser you'd like Puppeteer to use.</p><p>Can be overridden by <code>PUPPETEER_BROWSER_REVISION</code>.</p><p>See [puppeteer.launch](./puppeteer.puppeteernode.launch.md) on how executable path is inferred.</p> | A compatible-revision of the browser. | | browserRevision | <code>optional</code> | string | <p>Specifies a certain version of the browser you'd like Puppeteer to use.</p><p>Can be overridden by <code>PUPPETEER_BROWSER_REVISION</code>.</p><p>See [puppeteer.launch](./puppeteer.puppeteernode.launch.md) on how executable path is inferred.</p> | A compatible-revision of the browser. |
| [cacheDirectory?](./puppeteer.configuration.cachedirectory.md) | | string | <p>_(Optional)_ Defines the directory to be used by Puppeteer for caching.</p><p>Can be overridden by <code>PUPPETEER_CACHE_DIR</code>.</p> | <code>path.join(os.homedir(), '.cache', 'puppeteer')</code> | | cacheDirectory | <code>optional</code> | string | <p>Defines the directory to be used by Puppeteer for caching.</p><p>Can be overridden by <code>PUPPETEER_CACHE_DIR</code>.</p> | <code>path.join(os.homedir(), '.cache', 'puppeteer')</code> |
| [defaultProduct?](./puppeteer.configuration.defaultproduct.md) | | [Product](./puppeteer.product.md) | <p>_(Optional)_ Specifies which browser you'd like Puppeteer to use.</p><p>Can be overridden by <code>PUPPETEER_PRODUCT</code>.</p> | <code>'chrome'</code> | | defaultProduct | <code>optional</code> | [Product](./puppeteer.product.md) | <p>Specifies which browser you'd like Puppeteer to use.</p><p>Can be overridden by <code>PUPPETEER_PRODUCT</code>.</p> | <code>'chrome'</code> |
| [downloadHost?](./puppeteer.configuration.downloadhost.md) | | string | <p>_(Optional)_ Specifies the URL prefix that is used to download Chromium.</p><p>Can be overridden by <code>PUPPETEER_DOWNLOAD_HOST</code>.</p> | Either https://storage.googleapis.com or https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central, depending on the product. | | downloadHost | <code>optional</code> | string | <p>Specifies the URL prefix that is used to download Chromium.</p><p>Can be overridden by <code>PUPPETEER_DOWNLOAD_HOST</code>.</p> | Either https://storage.googleapis.com or https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central, depending on the product. |
| [downloadPath?](./puppeteer.configuration.downloadpath.md) | | string | <p>_(Optional)_ Specifies the path for the downloads folder.</p><p>Can be overridden by <code>PUPPETEER_DOWNLOAD_PATH</code>.</p> | <code>&lt;cache&gt;/&lt;product&gt;</code> where <code>&lt;cache&gt;</code> is Puppeteer's cache directory and <code>&lt;product&gt;</code> is the name of the browser. | | downloadPath | <code>optional</code> | string | <p>Specifies the path for the downloads folder.</p><p>Can be overridden by <code>PUPPETEER_DOWNLOAD_PATH</code>.</p> | <code>&lt;cache&gt;/&lt;product&gt;</code> where <code>&lt;cache&gt;</code> is Puppeteer's cache directory and <code>&lt;product&gt;</code> is the name of the browser. |
| [executablePath?](./puppeteer.configuration.executablepath.md) | | string | <p>_(Optional)_ Specifies an executable path to be used in [puppeteer.launch](./puppeteer.puppeteernode.launch.md).</p><p>Can be overridden by <code>PUPPETEER_EXECUTABLE_PATH</code>.</p> | Auto-computed. | | executablePath | <code>optional</code> | string | <p>Specifies an executable path to be used in [puppeteer.launch](./puppeteer.puppeteernode.launch.md).</p><p>Can be overridden by <code>PUPPETEER_EXECUTABLE_PATH</code>.</p> | Auto-computed. |
| [experiments?](./puppeteer.configuration.experiments.md) | | [ExperimentsConfiguration](./puppeteer.experimentsconfiguration.md) | _(Optional)_ Defines experimental options for Puppeteer. | | | experiments | <code>optional</code> | [ExperimentsConfiguration](./puppeteer.experimentsconfiguration.md) | Defines experimental options for Puppeteer. | |
| [logLevel?](./puppeteer.configuration.loglevel.md) | | 'silent' \| 'error' \| 'warn' | <p>_(Optional)_ Tells Puppeteer to log at the given level.</p><p>At the moment, any option silences logging.</p> | <code>undefined</code> | | logLevel | <code>optional</code> | 'silent' \| 'error' \| 'warn' | <p>Tells Puppeteer to log at the given level.</p><p>At the moment, any option silences logging.</p> | <code>undefined</code> |
| [skipDownload?](./puppeteer.configuration.skipdownload.md) | | boolean | <p>_(Optional)_ Tells Puppeteer to not download during installation.</p><p>Can be overridden by <code>PUPPETEER_SKIP_DOWNLOAD</code>.</p> | | | skipDownload | <code>optional</code> | boolean | <p>Tells Puppeteer to not download during installation.</p><p>Can be overridden by <code>PUPPETEER_SKIP_DOWNLOAD</code>.</p> | |
| [temporaryDirectory?](./puppeteer.configuration.temporarydirectory.md) | | string | <p>_(Optional)_ Defines the directory to be used by Puppeteer for creating temporary files.</p><p>Can be overridden by <code>PUPPETEER_TMP_DIR</code>.</p> | <code>os.tmpdir()</code> | | temporaryDirectory | <code>optional</code> | string | <p>Defines the directory to be used by Puppeteer for creating temporary files.</p><p>Can be overridden by <code>PUPPETEER_TMP_DIR</code>.</p> | <code>os.tmpdir()</code> |

View File

@ -1,17 +0,0 @@
---
sidebar_label: Configuration.skipDownload
---
# Configuration.skipDownload property
Tells Puppeteer to not download during installation.
Can be overridden by `PUPPETEER_SKIP_DOWNLOAD`.
#### Signature:
```typescript
interface Configuration {
skipDownload?: boolean;
}
```

View File

@ -1,21 +0,0 @@
---
sidebar_label: Configuration.temporaryDirectory
---
# Configuration.temporaryDirectory property
Defines the directory to be used by Puppeteer for creating temporary files.
Can be overridden by `PUPPETEER_TMP_DIR`.
#### Signature:
```typescript
interface Configuration {
temporaryDirectory?: string;
}
```
#### Default value:
`os.tmpdir()`

View File

@ -21,8 +21,8 @@ export declare class Connection extends EventEmitter
## Properties ## Properties
| Property | Modifiers | Type | Description | | Property | Modifiers | Type | Description |
| -------------------------------------------- | --------------------- | ------ | ----------- | | -------- | --------------------- | ------ | ----------- |
| [timeout](./puppeteer.connection.timeout.md) | <code>readonly</code> | number | | | timeout | <code>readonly</code> | number | |
## Methods ## Methods

View File

@ -1,13 +0,0 @@
---
sidebar_label: Connection.timeout
---
# Connection.timeout property
#### Signature:
```typescript
class Connection {
get timeout(): number;
}
```

View File

@ -13,9 +13,9 @@ export interface ConnectionTransport
## Properties ## Properties
| Property | Modifiers | Type | Description | Default | | Property | Modifiers | Type | Description | Default |
| ---------------------------------------------------------- | --------- | ---------------------------- | ------------ | ------- | | --------- | --------------------- | ---------------------------- | ----------- | ------- |
| [onclose?](./puppeteer.connectiontransport.onclose.md) | | () =&gt; void | _(Optional)_ | | | onclose | <code>optional</code> | () =&gt; void | | |
| [onmessage?](./puppeteer.connectiontransport.onmessage.md) | | (message: string) =&gt; void | _(Optional)_ | | | onmessage | <code>optional</code> | (message: string) =&gt; void | | |
## Methods ## Methods

View File

@ -1,13 +0,0 @@
---
sidebar_label: ConnectionTransport.onclose
---
# ConnectionTransport.onclose property
#### Signature:
```typescript
interface ConnectionTransport {
onclose?: () => void;
}
```

View File

@ -1,13 +0,0 @@
---
sidebar_label: ConnectionTransport.onmessage
---
# ConnectionTransport.onmessage property
#### Signature:
```typescript
interface ConnectionTransport {
onmessage?: (message: string) => void;
}
```

View File

@ -1,13 +0,0 @@
---
sidebar_label: ConnectOptions.browserURL
---
# ConnectOptions.browserURL property
#### Signature:
```typescript
interface ConnectOptions {
browserURL?: string;
}
```

View File

@ -1,13 +0,0 @@
---
sidebar_label: ConnectOptions.browserWSEndpoint
---
# ConnectOptions.browserWSEndpoint property
#### Signature:
```typescript
interface ConnectOptions {
browserWSEndpoint?: string;
}
```

View File

@ -1,19 +0,0 @@
---
sidebar_label: ConnectOptions.headers
---
# ConnectOptions.headers property
Headers to use for the web socket connection.
#### Signature:
```typescript
interface ConnectOptions {
headers?: Record<string, string>;
}
```
## Remarks
Only works in the Node.js environment.

View File

@ -15,8 +15,8 @@ export interface ConnectOptions extends BrowserConnectOptions
## Properties ## Properties
| Property | Modifiers | Type | Description | Default | | Property | Modifiers | Type | Description | Default |
| --------------------------------------------------------------------- | --------- | --------------------------------------------------------- | ---------------------------------------------------------- | ------- | | ----------------- | --------------------- | --------------------------------------------------------- | --------------------------------------------- | ------- |
| [browserURL?](./puppeteer.connectoptions.browserurl.md) | | string | _(Optional)_ | | | browserURL | <code>optional</code> | string | | |
| [browserWSEndpoint?](./puppeteer.connectoptions.browserwsendpoint.md) | | string | _(Optional)_ | | | browserWSEndpoint | <code>optional</code> | string | | |
| [headers?](./puppeteer.connectoptions.headers.md) | | Record&lt;string, string&gt; | _(Optional)_ Headers to use for the web socket connection. | | | headers | <code>optional</code> | Record&lt;string, string&gt; | Headers to use for the web socket connection. | |
| [transport?](./puppeteer.connectoptions.transport.md) | | [ConnectionTransport](./puppeteer.connectiontransport.md) | _(Optional)_ | | | transport | <code>optional</code> | [ConnectionTransport](./puppeteer.connectiontransport.md) | | |

View File

@ -1,13 +0,0 @@
---
sidebar_label: ConnectOptions.transport
---
# ConnectOptions.transport property
#### Signature:
```typescript
interface ConnectOptions {
transport?: ConnectionTransport;
}
```

View File

@ -1,15 +0,0 @@
---
sidebar_label: ConsoleMessageLocation.columnNumber
---
# ConsoleMessageLocation.columnNumber property
0-based column number in the resource if known or `undefined` otherwise.
#### Signature:
```typescript
interface ConsoleMessageLocation {
columnNumber?: number;
}
```

View File

@ -1,15 +0,0 @@
---
sidebar_label: ConsoleMessageLocation.lineNumber
---
# ConsoleMessageLocation.lineNumber property
0-based line number in the resource if known or `undefined` otherwise.
#### Signature:
```typescript
interface ConsoleMessageLocation {
lineNumber?: number;
}
```

View File

@ -13,7 +13,7 @@ export interface ConsoleMessageLocation
## Properties ## Properties
| Property | Modifiers | Type | Description | Default | | Property | Modifiers | Type | Description | Default |
| ------------------------------------------------------------------- | --------- | ------ | ------------------------------------------------------------------------------------------------ | ------- | | ------------ | --------------------- | ------ | ----------------------------------------------------------------------------------- | ------- |
| [columnNumber?](./puppeteer.consolemessagelocation.columnnumber.md) | | number | _(Optional)_ 0-based column number in the resource if known or <code>undefined</code> otherwise. | | | columnNumber | <code>optional</code> | number | 0-based column number in the resource if known or <code>undefined</code> otherwise. | |
| [lineNumber?](./puppeteer.consolemessagelocation.linenumber.md) | | number | _(Optional)_ 0-based line number in the resource if known or <code>undefined</code> otherwise. | | | lineNumber | <code>optional</code> | number | 0-based line number in the resource if known or <code>undefined</code> otherwise. | |
| [url?](./puppeteer.consolemessagelocation.url.md) | | string | _(Optional)_ URL of the resource if known or <code>undefined</code> otherwise. | | | url | <code>optional</code> | string | URL of the resource if known or <code>undefined</code> otherwise. | |

View File

@ -1,15 +0,0 @@
---
sidebar_label: ConsoleMessageLocation.url
---
# ConsoleMessageLocation.url property
URL of the resource if known or `undefined` otherwise.
#### Signature:
```typescript
interface ConsoleMessageLocation {
url?: string;
}
```

View File

@ -1,13 +0,0 @@
---
sidebar_label: ContinueRequestOverrides.headers
---
# ContinueRequestOverrides.headers property
#### Signature:
```typescript
interface ContinueRequestOverrides {
headers?: Record<string, string>;
}
```

View File

@ -13,8 +13,8 @@ export interface ContinueRequestOverrides
## Properties ## Properties
| Property | Modifiers | Type | Description | Default | | Property | Modifiers | Type | Description | Default |
| ------------------------------------------------------------- | --------- | ---------------------------- | ------------------------------------------------------------------------- | ------- | | -------- | --------------------- | ---------------------------- | ------------------------------------------------------------ | ------- |
| [headers?](./puppeteer.continuerequestoverrides.headers.md) | | Record&lt;string, string&gt; | _(Optional)_ | | | headers | <code>optional</code> | Record&lt;string, string&gt; | | |
| [method?](./puppeteer.continuerequestoverrides.method.md) | | string | _(Optional)_ | | | method | <code>optional</code> | string | | |
| [postData?](./puppeteer.continuerequestoverrides.postdata.md) | | string | _(Optional)_ | | | postData | <code>optional</code> | string | | |
| [url?](./puppeteer.continuerequestoverrides.url.md) | | string | _(Optional)_ If set, the request URL will change. This is not a redirect. | | | url | <code>optional</code> | string | If set, the request URL will change. This is not a redirect. | |

View File

@ -1,13 +0,0 @@
---
sidebar_label: ContinueRequestOverrides.method
---
# ContinueRequestOverrides.method property
#### Signature:
```typescript
interface ContinueRequestOverrides {
method?: string;
}
```

View File

@ -1,13 +0,0 @@
---
sidebar_label: ContinueRequestOverrides.postData
---
# ContinueRequestOverrides.postData property
#### Signature:
```typescript
interface ContinueRequestOverrides {
postData?: string;
}
```

View File

@ -1,15 +0,0 @@
---
sidebar_label: ContinueRequestOverrides.url
---
# ContinueRequestOverrides.url property
If set, the request URL will change. This is not a redirect.
#### Signature:
```typescript
interface ContinueRequestOverrides {
url?: string;
}
```

View File

@ -15,7 +15,7 @@ export interface CoverageEntry
## Properties ## Properties
| Property | Modifiers | Type | Description | Default | | Property | Modifiers | Type | Description | Default |
| --------------------------------------------- | --------- | -------------------------------------------- | --------------------------------------------- | ------- | | -------- | --------- | -------------------------------------------- | --------------------------------------------- | ------- |
| [ranges](./puppeteer.coverageentry.ranges.md) | | Array&lt;{ start: number; end: number; }&gt; | The covered range as start and end positions. | | | ranges | | Array&lt;{ start: number; end: number; }&gt; | The covered range as start and end positions. | |
| [text](./puppeteer.coverageentry.text.md) | | string | The content of the style sheet or script. | | | text | | string | The content of the style sheet or script. | |
| [url](./puppeteer.coverageentry.url.md) | | string | The URL of the style sheet or script. | | | url | | string | The URL of the style sheet or script. | |

View File

@ -1,18 +0,0 @@
---
sidebar_label: CoverageEntry.ranges
---
# CoverageEntry.ranges property
The covered range as start and end positions.
#### Signature:
```typescript
interface CoverageEntry {
ranges: Array<{
start: number;
end: number;
}>;
}
```

View File

@ -1,15 +0,0 @@
---
sidebar_label: CoverageEntry.text
---
# CoverageEntry.text property
The content of the style sheet or script.
#### Signature:
```typescript
interface CoverageEntry {
text: string;
}
```

View File

@ -1,15 +0,0 @@
---
sidebar_label: CoverageEntry.url
---
# CoverageEntry.url property
The URL of the style sheet or script.
#### Signature:
```typescript
interface CoverageEntry {
url: string;
}
```

View File

@ -13,6 +13,6 @@ export interface Credentials
## Properties ## Properties
| Property | Modifiers | Type | Description | Default | | Property | Modifiers | Type | Description | Default |
| ----------------------------------------------- | --------- | ------ | ----------- | ------- | | -------- | --------- | ------ | ----------- | ------- |
| [password](./puppeteer.credentials.password.md) | | string | | | | password | | string | | |
| [username](./puppeteer.credentials.username.md) | | string | | | | username | | string | | |

View File

@ -1,13 +0,0 @@
---
sidebar_label: Credentials.password
---
# Credentials.password property
#### Signature:
```typescript
interface Credentials {
password: string;
}
```

View File

@ -1,13 +0,0 @@
---
sidebar_label: Credentials.username
---
# Credentials.username property
#### Signature:
```typescript
interface Credentials {
username: string;
}
```

View File

@ -15,5 +15,5 @@ export interface CSSCoverageOptions
## Properties ## Properties
| Property | Modifiers | Type | Description | Default | | Property | Modifiers | Type | Description | Default |
| ------------------------------------------------------------------------- | --------- | ------- | ----------------------------------------------------------- | ------- | | ----------------- | --------------------- | ------- | ---------------------------------------------- | ------- |
| [resetOnNavigation?](./puppeteer.csscoverageoptions.resetonnavigation.md) | | boolean | _(Optional)_ Whether to reset coverage on every navigation. | | | resetOnNavigation | <code>optional</code> | boolean | Whether to reset coverage on every navigation. | |

View File

@ -1,15 +0,0 @@
---
sidebar_label: CSSCoverageOptions.resetOnNavigation
---
# CSSCoverageOptions.resetOnNavigation property
Whether to reset coverage on every navigation.
#### Signature:
```typescript
interface CSSCoverageOptions {
resetOnNavigation?: boolean;
}
```

View File

@ -13,6 +13,6 @@ export interface CustomQueryHandler
## Properties ## Properties
| Property | Modifiers | Type | Description | Default | | Property | Modifiers | Type | Description | Default |
| ------------------------------------------------------- | --------- | --------------------------------------------------------- | ------------ | ------- | | -------- | --------------------- | --------------------------------------------------------- | ----------- | ------- |
| [queryAll?](./puppeteer.customqueryhandler.queryall.md) | | (node: Node, selector: string) =&gt; Iterable&lt;Node&gt; | _(Optional)_ | | | queryAll | <code>optional</code> | (node: Node, selector: string) =&gt; Iterable&lt;Node&gt; | | |
| [queryOne?](./puppeteer.customqueryhandler.queryone.md) | | (node: Node, selector: string) =&gt; Node \| null | _(Optional)_ | | | queryOne | <code>optional</code> | (node: Node, selector: string) =&gt; Node \| null | | |

View File

@ -1,13 +0,0 @@
---
sidebar_label: CustomQueryHandler.queryAll
---
# CustomQueryHandler.queryAll property
#### Signature:
```typescript
interface CustomQueryHandler {
queryAll?: (node: Node, selector: string) => Iterable<Node>;
}
```

View File

@ -1,13 +0,0 @@
---
sidebar_label: CustomQueryHandler.queryOne
---
# CustomQueryHandler.queryOne property
#### Signature:
```typescript
interface CustomQueryHandler {
queryOne?: (node: Node, selector: string) => Node | null;
}
```

View File

@ -13,6 +13,6 @@ export interface Device
## Properties ## Properties
| Property | Modifiers | Type | Description | Default | | Property | Modifiers | Type | Description | Default |
| -------------------------------------------- | --------- | ----------------------------------- | ----------- | ------- | | --------- | --------- | ----------------------------------- | ----------- | ------- |
| [userAgent](./puppeteer.device.useragent.md) | | string | | | | userAgent | | string | | |
| [viewport](./puppeteer.device.viewport.md) | | [Viewport](./puppeteer.viewport.md) | | | | viewport | | [Viewport](./puppeteer.viewport.md) | | |

View File

@ -1,13 +0,0 @@
---
sidebar_label: Device.userAgent
---
# Device.userAgent property
#### Signature:
```typescript
interface Device {
userAgent: string;
}
```

View File

@ -1,13 +0,0 @@
---
sidebar_label: Device.viewport
---
# Device.viewport property
#### Signature:
```typescript
interface Device {
viewport: Viewport;
}
```

View File

@ -1,15 +0,0 @@
---
sidebar_label: DeviceRequestPrompt.devices
---
# DeviceRequestPrompt.devices property
Current list of selectable devices.
#### Signature:
```typescript
class DeviceRequestPrompt {
devices: DeviceRequestPromptDevice[];
}
```

View File

@ -33,8 +33,8 @@ await devicePrompt.select(
## Properties ## Properties
| Property | Modifiers | Type | Description | | Property | Modifiers | Type | Description |
| ----------------------------------------------------- | --------- | ------------------------------------------------------------------------- | ----------------------------------- | | -------- | --------- | ------------------------------------------------------------------------- | ----------------------------------- |
| [devices](./puppeteer.devicerequestprompt.devices.md) | | [DeviceRequestPromptDevice](./puppeteer.devicerequestpromptdevice.md)\[\] | Current list of selectable devices. | | devices | | [DeviceRequestPromptDevice](./puppeteer.devicerequestpromptdevice.md)\[\] | Current list of selectable devices. |
## Methods ## Methods

View File

@ -1,15 +0,0 @@
---
sidebar_label: DeviceRequestPromptDevice.id
---
# DeviceRequestPromptDevice.id property
Device id during a prompt.
#### Signature:
```typescript
class DeviceRequestPromptDevice {
id: string;
}
```

View File

@ -19,6 +19,6 @@ The constructor for this class is marked as internal. Third-party code should no
## Properties ## Properties
| Property | Modifiers | Type | Description | | Property | Modifiers | Type | Description |
| ----------------------------------------------------- | --------- | ------ | -------------------------------------- | | -------- | --------- | ------ | -------------------------------------- |
| [id](./puppeteer.devicerequestpromptdevice.id.md) | | string | Device id during a prompt. | | id | | string | Device id during a prompt. |
| [name](./puppeteer.devicerequestpromptdevice.name.md) | | string | Device name as it appears in a prompt. | | name | | string | Device name as it appears in a prompt. |

Some files were not shown because too many files have changed in this diff Show More