mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
feat(chromium): roll Chromium to r782078 (#6250)
This corresponds to Chromium 85.0.4182.0. This roll includes: - Enable SameSiteByDefaultCookies and CookiesWithoutSameSiteMustBeSecure https://crrev.com/c/2231445 - [FlexNG] Enable FlexNG by default https://crrev.com/c/2216595 Closes #6151.
This commit is contained in:
parent
b2f69183aa
commit
e89e264a16
@ -25,5 +25,5 @@ export interface Animation
|
||||
| [playState](./puppeteer.protocol.animation.animation.playstate.md) | string | <code>Animation</code>'s play state. |
|
||||
| [source](./puppeteer.protocol.animation.animation.source.md) | [AnimationEffect](./puppeteer.protocol.animation.animationeffect.md) | <code>Animation</code>'s source animation node. |
|
||||
| [startTime](./puppeteer.protocol.animation.animation.starttime.md) | number | <code>Animation</code>'s start time. |
|
||||
| [type](./puppeteer.protocol.animation.animation.type.md) | ('CSSTransition' \| 'CSSAnimation' \| 'WebAnimation') | Animation type of <code>Animation</code>. |
|
||||
| [type](./puppeteer.protocol.animation.animation.type.md) | ('CSSTransition' \| 'CSSAnimation' \| 'WebAnimation') | Animation type of <code>Animation</code>. (AnimationType enum) |
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
## Protocol.Animation.Animation.type property
|
||||
|
||||
Animation type of `Animation`<!-- -->.
|
||||
Animation type of `Animation`<!-- -->. (AnimationType enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
20
new-docs/puppeteer.protocol.animation.animationtype.md
Normal file
20
new-docs/puppeteer.protocol.animation.animationtype.md
Normal file
@ -0,0 +1,20 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Animation](./puppeteer.protocol.animation.md) > [AnimationType](./puppeteer.protocol.animation.animationtype.md)
|
||||
|
||||
## Protocol.Animation.AnimationType enum
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export const enum AnimationType
|
||||
```
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| CSSAnimation | <code>'CSSAnimation'</code> | |
|
||||
| CSSTransition | <code>'CSSTransition'</code> | |
|
||||
| WebAnimation | <code>'WebAnimation'</code> | |
|
||||
|
@ -10,6 +10,12 @@
|
||||
export namespace Animation
|
||||
```
|
||||
|
||||
## Enumerations
|
||||
|
||||
| Enumeration | Description |
|
||||
| --- | --- |
|
||||
| [AnimationType](./puppeteer.protocol.animation.animationtype.md) | |
|
||||
|
||||
## Interfaces
|
||||
|
||||
| Interface | Description |
|
||||
|
@ -0,0 +1,11 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [BlockedByResponseIssueDetails](./puppeteer.protocol.audits.blockedbyresponseissuedetails.md) > [frame](./puppeteer.protocol.audits.blockedbyresponseissuedetails.frame.md)
|
||||
|
||||
## Protocol.Audits.BlockedByResponseIssueDetails.frame property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
frame?: AffectedFrame;
|
||||
```
|
@ -0,0 +1,22 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [BlockedByResponseIssueDetails](./puppeteer.protocol.audits.blockedbyresponseissuedetails.md)
|
||||
|
||||
## Protocol.Audits.BlockedByResponseIssueDetails interface
|
||||
|
||||
Details for a request that has been blocked with the BLOCKED\_BY\_RESPONSE code. Currently only used for COEP/COOP, but may be extended to include some CSP errors in the future.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface BlockedByResponseIssueDetails
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [frame](./puppeteer.protocol.audits.blockedbyresponseissuedetails.frame.md) | [AffectedFrame](./puppeteer.protocol.audits.affectedframe.md) | |
|
||||
| [reason](./puppeteer.protocol.audits.blockedbyresponseissuedetails.reason.md) | [BlockedByResponseReason](./puppeteer.protocol.audits.blockedbyresponsereason.md) | |
|
||||
| [request](./puppeteer.protocol.audits.blockedbyresponseissuedetails.request.md) | [AffectedRequest](./puppeteer.protocol.audits.affectedrequest.md) | |
|
||||
|
@ -0,0 +1,11 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [BlockedByResponseIssueDetails](./puppeteer.protocol.audits.blockedbyresponseissuedetails.md) > [reason](./puppeteer.protocol.audits.blockedbyresponseissuedetails.reason.md)
|
||||
|
||||
## Protocol.Audits.BlockedByResponseIssueDetails.reason property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
reason: BlockedByResponseReason;
|
||||
```
|
@ -0,0 +1,11 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [BlockedByResponseIssueDetails](./puppeteer.protocol.audits.blockedbyresponseissuedetails.md) > [request](./puppeteer.protocol.audits.blockedbyresponseissuedetails.request.md)
|
||||
|
||||
## Protocol.Audits.BlockedByResponseIssueDetails.request property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
request: AffectedRequest;
|
||||
```
|
@ -0,0 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [BlockedByResponseReason](./puppeteer.protocol.audits.blockedbyresponsereason.md)
|
||||
|
||||
## Protocol.Audits.BlockedByResponseReason type
|
||||
|
||||
Enum indicating the reason a response has been blocked. These reasons are refinements of the net error BLOCKED\_BY\_RESPONSE.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export type BlockedByResponseReason = ('CoepFrameResourceNeedsCoepHeader' | 'CoopSandboxedIFrameCannotNavigateToCoopPage' | 'CorpNotSameOrigin' | 'CorpNotSameOriginAfterDefaultedToSameOriginByCoep' | 'CorpNotSameSite');
|
||||
```
|
@ -4,7 +4,7 @@
|
||||
|
||||
## Protocol.Audits.GetEncodedResponseRequest.encoding property
|
||||
|
||||
The encoding to use.
|
||||
The encoding to use. (GetEncodedResponseRequestEncoding enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
@ -14,7 +14,7 @@ export interface GetEncodedResponseRequest
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [encoding](./puppeteer.protocol.audits.getencodedresponserequest.encoding.md) | ('webp' \| 'jpeg' \| 'png') | The encoding to use. |
|
||||
| [encoding](./puppeteer.protocol.audits.getencodedresponserequest.encoding.md) | ('webp' \| 'jpeg' \| 'png') | The encoding to use. (GetEncodedResponseRequestEncoding enum) |
|
||||
| [quality](./puppeteer.protocol.audits.getencodedresponserequest.quality.md) | number | The quality of the encoding (0-1). (defaults to 1) |
|
||||
| [requestId](./puppeteer.protocol.audits.getencodedresponserequest.requestid.md) | [Network.RequestId](./puppeteer.protocol.network.requestid.md) | Identifier of the network request to get content for. |
|
||||
| [sizeOnly](./puppeteer.protocol.audits.getencodedresponserequest.sizeonly.md) | boolean | Whether to only return the size information (defaults to false). |
|
||||
|
@ -0,0 +1,20 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [GetEncodedResponseRequestEncoding](./puppeteer.protocol.audits.getencodedresponserequestencoding.md)
|
||||
|
||||
## Protocol.Audits.GetEncodedResponseRequestEncoding enum
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export const enum GetEncodedResponseRequestEncoding
|
||||
```
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| Jpeg | <code>'jpeg'</code> | |
|
||||
| Png | <code>'png'</code> | |
|
||||
| Webp | <code>'webp'</code> | |
|
||||
|
@ -0,0 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [HeavyAdIssueDetails](./puppeteer.protocol.audits.heavyadissuedetails.md) > [frame](./puppeteer.protocol.audits.heavyadissuedetails.frame.md)
|
||||
|
||||
## Protocol.Audits.HeavyAdIssueDetails.frame property
|
||||
|
||||
The frame that was blocked.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
frame: AffectedFrame;
|
||||
```
|
20
new-docs/puppeteer.protocol.audits.heavyadissuedetails.md
Normal file
20
new-docs/puppeteer.protocol.audits.heavyadissuedetails.md
Normal file
@ -0,0 +1,20 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [HeavyAdIssueDetails](./puppeteer.protocol.audits.heavyadissuedetails.md)
|
||||
|
||||
## Protocol.Audits.HeavyAdIssueDetails interface
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface HeavyAdIssueDetails
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [frame](./puppeteer.protocol.audits.heavyadissuedetails.frame.md) | [AffectedFrame](./puppeteer.protocol.audits.affectedframe.md) | The frame that was blocked. |
|
||||
| [reason](./puppeteer.protocol.audits.heavyadissuedetails.reason.md) | [HeavyAdReason](./puppeteer.protocol.audits.heavyadreason.md) | The reason the ad was blocked, total network or cpu or peak cpu. |
|
||||
| [resolution](./puppeteer.protocol.audits.heavyadissuedetails.resolution.md) | [HeavyAdResolutionStatus](./puppeteer.protocol.audits.heavyadresolutionstatus.md) | The resolution status, either blocking the content or warning. |
|
||||
|
@ -0,0 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [HeavyAdIssueDetails](./puppeteer.protocol.audits.heavyadissuedetails.md) > [reason](./puppeteer.protocol.audits.heavyadissuedetails.reason.md)
|
||||
|
||||
## Protocol.Audits.HeavyAdIssueDetails.reason property
|
||||
|
||||
The reason the ad was blocked, total network or cpu or peak cpu.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
reason: HeavyAdReason;
|
||||
```
|
@ -0,0 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [HeavyAdIssueDetails](./puppeteer.protocol.audits.heavyadissuedetails.md) > [resolution](./puppeteer.protocol.audits.heavyadissuedetails.resolution.md)
|
||||
|
||||
## Protocol.Audits.HeavyAdIssueDetails.resolution property
|
||||
|
||||
The resolution status, either blocking the content or warning.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
resolution: HeavyAdResolutionStatus;
|
||||
```
|
11
new-docs/puppeteer.protocol.audits.heavyadreason.md
Normal file
11
new-docs/puppeteer.protocol.audits.heavyadreason.md
Normal file
@ -0,0 +1,11 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [HeavyAdReason](./puppeteer.protocol.audits.heavyadreason.md)
|
||||
|
||||
## Protocol.Audits.HeavyAdReason type
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export type HeavyAdReason = ('NetworkTotalLimit' | 'CpuTotalLimit' | 'CpuPeakLimit');
|
||||
```
|
@ -0,0 +1,11 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [HeavyAdResolutionStatus](./puppeteer.protocol.audits.heavyadresolutionstatus.md)
|
||||
|
||||
## Protocol.Audits.HeavyAdResolutionStatus type
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export type HeavyAdResolutionStatus = ('HeavyAdBlocked' | 'HeavyAdWarning');
|
||||
```
|
@ -9,5 +9,5 @@ A unique identifier for the type of issue. Each type may use one of the optional
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export type InspectorIssueCode = ('SameSiteCookieIssue' | 'MixedContentIssue');
|
||||
export type InspectorIssueCode = ('SameSiteCookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue');
|
||||
```
|
||||
|
@ -0,0 +1,11 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [InspectorIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.md) > [blockedByResponseIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.blockedbyresponseissuedetails.md)
|
||||
|
||||
## Protocol.Audits.InspectorIssueDetails.blockedByResponseIssueDetails property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
blockedByResponseIssueDetails?: BlockedByResponseIssueDetails;
|
||||
```
|
@ -0,0 +1,11 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Audits](./puppeteer.protocol.audits.md) > [InspectorIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.md) > [heavyAdIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.heavyadissuedetails.md)
|
||||
|
||||
## Protocol.Audits.InspectorIssueDetails.heavyAdIssueDetails property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
heavyAdIssueDetails?: HeavyAdIssueDetails;
|
||||
```
|
@ -16,6 +16,8 @@ export interface InspectorIssueDetails
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [blockedByResponseIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.blockedbyresponseissuedetails.md) | [BlockedByResponseIssueDetails](./puppeteer.protocol.audits.blockedbyresponseissuedetails.md) | |
|
||||
| [heavyAdIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.heavyadissuedetails.md) | [HeavyAdIssueDetails](./puppeteer.protocol.audits.heavyadissuedetails.md) | |
|
||||
| [mixedContentIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.mixedcontentissuedetails.md) | [MixedContentIssueDetails](./puppeteer.protocol.audits.mixedcontentissuedetails.md) | |
|
||||
| [sameSiteCookieIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.samesitecookieissuedetails.md) | [SameSiteCookieIssueDetails](./puppeteer.protocol.audits.samesitecookieissuedetails.md) | |
|
||||
|
||||
|
@ -12,6 +12,12 @@ Audits domain allows investigation of page violations and possible improvements.
|
||||
export namespace Audits
|
||||
```
|
||||
|
||||
## Enumerations
|
||||
|
||||
| Enumeration | Description |
|
||||
| --- | --- |
|
||||
| [GetEncodedResponseRequestEncoding](./puppeteer.protocol.audits.getencodedresponserequestencoding.md) | |
|
||||
|
||||
## Interfaces
|
||||
|
||||
| Interface | Description |
|
||||
@ -19,8 +25,10 @@ export namespace Audits
|
||||
| [AffectedCookie](./puppeteer.protocol.audits.affectedcookie.md) | Information about a cookie that is affected by an inspector issue. |
|
||||
| [AffectedFrame](./puppeteer.protocol.audits.affectedframe.md) | Information about the frame affected by an inspector issue. |
|
||||
| [AffectedRequest](./puppeteer.protocol.audits.affectedrequest.md) | Information about a request that is affected by an inspector issue. |
|
||||
| [BlockedByResponseIssueDetails](./puppeteer.protocol.audits.blockedbyresponseissuedetails.md) | Details for a request that has been blocked with the BLOCKED\_BY\_RESPONSE code. Currently only used for COEP/COOP, but may be extended to include some CSP errors in the future. |
|
||||
| [GetEncodedResponseRequest](./puppeteer.protocol.audits.getencodedresponserequest.md) | |
|
||||
| [GetEncodedResponseResponse](./puppeteer.protocol.audits.getencodedresponseresponse.md) | |
|
||||
| [HeavyAdIssueDetails](./puppeteer.protocol.audits.heavyadissuedetails.md) | |
|
||||
| [InspectorIssue](./puppeteer.protocol.audits.inspectorissue.md) | An inspector issue reported from the back-end. |
|
||||
| [InspectorIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.md) | This struct holds a list of optional fields with additional information specific to the kind of issue. When adding a new issue code, please also add a new optional field to this type. |
|
||||
| [IssueAddedEvent](./puppeteer.protocol.audits.issueaddedevent.md) | |
|
||||
@ -31,6 +39,9 @@ export namespace Audits
|
||||
|
||||
| Type Alias | Description |
|
||||
| --- | --- |
|
||||
| [BlockedByResponseReason](./puppeteer.protocol.audits.blockedbyresponsereason.md) | Enum indicating the reason a response has been blocked. These reasons are refinements of the net error BLOCKED\_BY\_RESPONSE. |
|
||||
| [HeavyAdReason](./puppeteer.protocol.audits.heavyadreason.md) | |
|
||||
| [HeavyAdResolutionStatus](./puppeteer.protocol.audits.heavyadresolutionstatus.md) | |
|
||||
| [InspectorIssueCode](./puppeteer.protocol.audits.inspectorissuecode.md) | A unique identifier for the type of issue. Each type may use one of the optional fields in InspectorIssueDetails to convey more specific information about the kind of issue. |
|
||||
| [MixedContentResolutionStatus](./puppeteer.protocol.audits.mixedcontentresolutionstatus.md) | |
|
||||
| [MixedContentResourceType](./puppeteer.protocol.audits.mixedcontentresourcetype.md) | |
|
||||
|
@ -12,6 +12,12 @@ The Browser domain defines methods and events for browser managing.
|
||||
export namespace Browser
|
||||
```
|
||||
|
||||
## Enumerations
|
||||
|
||||
| Enumeration | Description |
|
||||
| --- | --- |
|
||||
| [SetDownloadBehaviorRequestBehavior](./puppeteer.protocol.browser.setdownloadbehaviorrequestbehavior.md) | |
|
||||
|
||||
## Interfaces
|
||||
|
||||
| Interface | Description |
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
## Protocol.Browser.SetDownloadBehaviorRequest.behavior property
|
||||
|
||||
Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). \|allowAndName\| allows download and names files according to their dowmload guids.
|
||||
Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). \|allowAndName\| allows download and names files according to their dowmload guids. (SetDownloadBehaviorRequestBehavior enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
@ -14,7 +14,7 @@ export interface SetDownloadBehaviorRequest
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [behavior](./puppeteer.protocol.browser.setdownloadbehaviorrequest.behavior.md) | ('deny' \| 'allow' \| 'allowAndName' \| 'default') | Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). \|allowAndName\| allows download and names files according to their dowmload guids. |
|
||||
| [behavior](./puppeteer.protocol.browser.setdownloadbehaviorrequest.behavior.md) | ('deny' \| 'allow' \| 'allowAndName' \| 'default') | Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). \|allowAndName\| allows download and names files according to their dowmload guids. (SetDownloadBehaviorRequestBehavior enum) |
|
||||
| [browserContextId](./puppeteer.protocol.browser.setdownloadbehaviorrequest.browsercontextid.md) | [BrowserContextID](./puppeteer.protocol.browser.browsercontextid.md) | BrowserContext to set download behavior. When omitted, default browser context is used. |
|
||||
| [downloadPath](./puppeteer.protocol.browser.setdownloadbehaviorrequest.downloadpath.md) | string | The default path to save downloaded files to. This is requred if behavior is set to 'allow' or 'allowAndName'. |
|
||||
|
||||
|
@ -0,0 +1,21 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Browser](./puppeteer.protocol.browser.md) > [SetDownloadBehaviorRequestBehavior](./puppeteer.protocol.browser.setdownloadbehaviorrequestbehavior.md)
|
||||
|
||||
## Protocol.Browser.SetDownloadBehaviorRequestBehavior enum
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export const enum SetDownloadBehaviorRequestBehavior
|
||||
```
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| Allow | <code>'allow'</code> | |
|
||||
| AllowAndName | <code>'allowAndName'</code> | |
|
||||
| Default | <code>'default'</code> | |
|
||||
| Deny | <code>'deny'</code> | |
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
## Protocol.Console.ConsoleMessage.level property
|
||||
|
||||
Message severity.
|
||||
Message severity. (ConsoleMessageLevel enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
@ -17,9 +17,9 @@ export interface ConsoleMessage
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [column](./puppeteer.protocol.console.consolemessage.column.md) | [integer](./puppeteer.protocol.integer.md) | Column number in the resource that generated this message (1-based). |
|
||||
| [level](./puppeteer.protocol.console.consolemessage.level.md) | ('log' \| 'warning' \| 'error' \| 'debug' \| 'info') | Message severity. |
|
||||
| [level](./puppeteer.protocol.console.consolemessage.level.md) | ('log' \| 'warning' \| 'error' \| 'debug' \| 'info') | Message severity. (ConsoleMessageLevel enum) |
|
||||
| [line](./puppeteer.protocol.console.consolemessage.line.md) | [integer](./puppeteer.protocol.integer.md) | Line number in the resource that generated this message (1-based). |
|
||||
| [source](./puppeteer.protocol.console.consolemessage.source.md) | ('xml' \| 'javascript' \| 'network' \| 'console-api' \| 'storage' \| 'appcache' \| 'rendering' \| 'security' \| 'other' \| 'deprecation' \| 'worker') | Message source. |
|
||||
| [source](./puppeteer.protocol.console.consolemessage.source.md) | ('xml' \| 'javascript' \| 'network' \| 'console-api' \| 'storage' \| 'appcache' \| 'rendering' \| 'security' \| 'other' \| 'deprecation' \| 'worker') | Message source. (ConsoleMessageSource enum) |
|
||||
| [text](./puppeteer.protocol.console.consolemessage.text.md) | string | Message text. |
|
||||
| [url](./puppeteer.protocol.console.consolemessage.url.md) | string | URL of the message origin. |
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
## Protocol.Console.ConsoleMessage.source property
|
||||
|
||||
Message source.
|
||||
Message source. (ConsoleMessageSource enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
22
new-docs/puppeteer.protocol.console.consolemessagelevel.md
Normal file
22
new-docs/puppeteer.protocol.console.consolemessagelevel.md
Normal file
@ -0,0 +1,22 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Console](./puppeteer.protocol.console.md) > [ConsoleMessageLevel](./puppeteer.protocol.console.consolemessagelevel.md)
|
||||
|
||||
## Protocol.Console.ConsoleMessageLevel enum
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export const enum ConsoleMessageLevel
|
||||
```
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| Debug | <code>'debug'</code> | |
|
||||
| Error | <code>'error'</code> | |
|
||||
| Info | <code>'info'</code> | |
|
||||
| Log | <code>'log'</code> | |
|
||||
| Warning | <code>'warning'</code> | |
|
||||
|
28
new-docs/puppeteer.protocol.console.consolemessagesource.md
Normal file
28
new-docs/puppeteer.protocol.console.consolemessagesource.md
Normal file
@ -0,0 +1,28 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Console](./puppeteer.protocol.console.md) > [ConsoleMessageSource](./puppeteer.protocol.console.consolemessagesource.md)
|
||||
|
||||
## Protocol.Console.ConsoleMessageSource enum
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export const enum ConsoleMessageSource
|
||||
```
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| Appcache | <code>'appcache'</code> | |
|
||||
| ConsoleAPI | <code>'console-api'</code> | |
|
||||
| Deprecation | <code>'deprecation'</code> | |
|
||||
| Javascript | <code>'javascript'</code> | |
|
||||
| Network | <code>'network'</code> | |
|
||||
| Other | <code>'other'</code> | |
|
||||
| Rendering | <code>'rendering'</code> | |
|
||||
| Security | <code>'security'</code> | |
|
||||
| Storage | <code>'storage'</code> | |
|
||||
| Worker | <code>'worker'</code> | |
|
||||
| XML | <code>'xml'</code> | |
|
||||
|
@ -12,6 +12,13 @@ This domain is deprecated - use Runtime or Log instead.
|
||||
export namespace Console
|
||||
```
|
||||
|
||||
## Enumerations
|
||||
|
||||
| Enumeration | Description |
|
||||
| --- | --- |
|
||||
| [ConsoleMessageLevel](./puppeteer.protocol.console.consolemessagelevel.md) | |
|
||||
| [ConsoleMessageSource](./puppeteer.protocol.console.consolemessagesource.md) | |
|
||||
|
||||
## Interfaces
|
||||
|
||||
| Interface | Description |
|
||||
|
@ -18,7 +18,7 @@ export interface CSSMedia
|
||||
| --- | --- | --- |
|
||||
| [mediaList](./puppeteer.protocol.css.cssmedia.medialist.md) | [MediaQuery](./puppeteer.protocol.css.mediaquery.md)<!-- -->\[\] | Array of media queries. |
|
||||
| [range](./puppeteer.protocol.css.cssmedia.range.md) | [SourceRange](./puppeteer.protocol.css.sourcerange.md) | The associated rule (<!-- -->@<!-- -->media or @<!-- -->import) header range in the enclosing stylesheet (if available). |
|
||||
| [source](./puppeteer.protocol.css.cssmedia.source.md) | ('mediaRule' \| 'importRule' \| 'linkedSheet' \| 'inlineSheet') | Source of the media query: "mediaRule" if specified by a rule, "importRule" if specified by an rule, "linkedSheet" if specified by a "media" attribute in a linked stylesheet's LINK tag, "inlineSheet" if specified by a "media" attribute in an inline stylesheet's STYLE tag. |
|
||||
| [source](./puppeteer.protocol.css.cssmedia.source.md) | ('mediaRule' \| 'importRule' \| 'linkedSheet' \| 'inlineSheet') | Source of the media query: "mediaRule" if specified by a rule, "importRule" if specified by an rule, "linkedSheet" if specified by a "media" attribute in a linked stylesheet's LINK tag, "inlineSheet" if specified by a "media" attribute in an inline stylesheet's STYLE tag. (CSSMediaSource enum) |
|
||||
| [sourceURL](./puppeteer.protocol.css.cssmedia.sourceurl.md) | string | URL of the document containing the media query description. |
|
||||
| [styleSheetId](./puppeteer.protocol.css.cssmedia.stylesheetid.md) | [StyleSheetId](./puppeteer.protocol.css.stylesheetid.md) | Identifier of the stylesheet containing this object (if exists). |
|
||||
| [text](./puppeteer.protocol.css.cssmedia.text.md) | string | Media query text. |
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
## Protocol.CSS.CSSMedia.source property
|
||||
|
||||
Source of the media query: "mediaRule" if specified by a rule, "importRule" if specified by an rule, "linkedSheet" if specified by a "media" attribute in a linked stylesheet's LINK tag, "inlineSheet" if specified by a "media" attribute in an inline stylesheet's STYLE tag.
|
||||
Source of the media query: "mediaRule" if specified by a rule, "importRule" if specified by an rule, "linkedSheet" if specified by a "media" attribute in a linked stylesheet's LINK tag, "inlineSheet" if specified by a "media" attribute in an inline stylesheet's STYLE tag. (CSSMediaSource enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
21
new-docs/puppeteer.protocol.css.cssmediasource.md
Normal file
21
new-docs/puppeteer.protocol.css.cssmediasource.md
Normal file
@ -0,0 +1,21 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [CSS](./puppeteer.protocol.css.md) > [CSSMediaSource](./puppeteer.protocol.css.cssmediasource.md)
|
||||
|
||||
## Protocol.CSS.CSSMediaSource enum
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export const enum CSSMediaSource
|
||||
```
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| ImportRule | <code>'importRule'</code> | |
|
||||
| InlineSheet | <code>'inlineSheet'</code> | |
|
||||
| LinkedSheet | <code>'linkedSheet'</code> | |
|
||||
| MediaRule | <code>'mediaRule'</code> | |
|
||||
|
@ -0,0 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [CSS](./puppeteer.protocol.css.md) > [CSSStyleSheetHeader](./puppeteer.protocol.css.cssstylesheetheader.md) > [isMutable](./puppeteer.protocol.css.cssstylesheetheader.ismutable.md)
|
||||
|
||||
## Protocol.CSS.CSSStyleSheetHeader.isMutable property
|
||||
|
||||
Whether this stylesheet is mutable. Inline stylesheets become mutable after they have been modified via CSSOM API. <link> element's stylesheets are never mutable. Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
isMutable: boolean;
|
||||
```
|
@ -22,6 +22,7 @@ export interface CSSStyleSheetHeader
|
||||
| [frameId](./puppeteer.protocol.css.cssstylesheetheader.frameid.md) | [Page.FrameId](./puppeteer.protocol.page.frameid.md) | Owner frame identifier. |
|
||||
| [hasSourceURL](./puppeteer.protocol.css.cssstylesheetheader.hassourceurl.md) | boolean | Whether the sourceURL field value comes from the sourceURL comment. |
|
||||
| [isInline](./puppeteer.protocol.css.cssstylesheetheader.isinline.md) | boolean | Whether this stylesheet is created for STYLE tag by parser. This flag is not set for document.written STYLE tags. |
|
||||
| [isMutable](./puppeteer.protocol.css.cssstylesheetheader.ismutable.md) | boolean | Whether this stylesheet is mutable. Inline stylesheets become mutable after they have been modified via CSSOM API. <link> element's stylesheets are never mutable. Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation. |
|
||||
| [length](./puppeteer.protocol.css.cssstylesheetheader.length.md) | number | Size of the content (in characters). |
|
||||
| [origin](./puppeteer.protocol.css.cssstylesheetheader.origin.md) | [StyleSheetOrigin](./puppeteer.protocol.css.stylesheetorigin.md) | Stylesheet origin. |
|
||||
| [ownerNode](./puppeteer.protocol.css.cssstylesheetheader.ownernode.md) | [DOM.BackendNodeId](./puppeteer.protocol.dom.backendnodeid.md) | The backend id for the owner node of the stylesheet. |
|
||||
|
@ -12,6 +12,12 @@ This domain exposes CSS read/write operations. All CSS objects (stylesheets, rul
|
||||
export namespace CSS
|
||||
```
|
||||
|
||||
## Enumerations
|
||||
|
||||
| Enumeration | Description |
|
||||
| --- | --- |
|
||||
| [CSSMediaSource](./puppeteer.protocol.css.cssmediasource.md) | |
|
||||
|
||||
## Interfaces
|
||||
|
||||
| Interface | Description |
|
||||
|
@ -17,5 +17,5 @@ export interface BreakLocation
|
||||
| [columnNumber](./puppeteer.protocol.debugger.breaklocation.columnnumber.md) | [integer](./puppeteer.protocol.integer.md) | Column number in the script (0-based). |
|
||||
| [lineNumber](./puppeteer.protocol.debugger.breaklocation.linenumber.md) | [integer](./puppeteer.protocol.integer.md) | Line number in the script (0-based). |
|
||||
| [scriptId](./puppeteer.protocol.debugger.breaklocation.scriptid.md) | [Runtime.ScriptId](./puppeteer.protocol.runtime.scriptid.md) | Script identifier as reported in the <code>Debugger.scriptParsed</code>. |
|
||||
| [type](./puppeteer.protocol.debugger.breaklocation.type.md) | ('debuggerStatement' \| 'call' \| 'return') | |
|
||||
| [type](./puppeteer.protocol.debugger.breaklocation.type.md) | ('debuggerStatement' \| 'call' \| 'return') | (BreakLocationType enum) |
|
||||
|
||||
|
@ -4,6 +4,8 @@
|
||||
|
||||
## Protocol.Debugger.BreakLocation.type property
|
||||
|
||||
(BreakLocationType enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
|
20
new-docs/puppeteer.protocol.debugger.breaklocationtype.md
Normal file
20
new-docs/puppeteer.protocol.debugger.breaklocationtype.md
Normal file
@ -0,0 +1,20 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Debugger](./puppeteer.protocol.debugger.md) > [BreakLocationType](./puppeteer.protocol.debugger.breaklocationtype.md)
|
||||
|
||||
## Protocol.Debugger.BreakLocationType enum
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export const enum BreakLocationType
|
||||
```
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| Call | <code>'call'</code> | |
|
||||
| DebuggerStatement | <code>'debuggerStatement'</code> | |
|
||||
| Return | <code>'return'</code> | |
|
||||
|
@ -15,5 +15,5 @@ export interface ContinueToLocationRequest
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [location](./puppeteer.protocol.debugger.continuetolocationrequest.location.md) | [Location](./puppeteer.protocol.debugger.location.md) | Location to continue to. |
|
||||
| [targetCallFrames](./puppeteer.protocol.debugger.continuetolocationrequest.targetcallframes.md) | ('any' \| 'current') | |
|
||||
| [targetCallFrames](./puppeteer.protocol.debugger.continuetolocationrequest.targetcallframes.md) | ('any' \| 'current') | (ContinueToLocationRequestTargetCallFrames enum) |
|
||||
|
||||
|
@ -4,6 +4,8 @@
|
||||
|
||||
## Protocol.Debugger.ContinueToLocationRequest.targetCallFrames property
|
||||
|
||||
(ContinueToLocationRequestTargetCallFrames enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
|
@ -0,0 +1,19 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Debugger](./puppeteer.protocol.debugger.md) > [ContinueToLocationRequestTargetCallFrames](./puppeteer.protocol.debugger.continuetolocationrequesttargetcallframes.md)
|
||||
|
||||
## Protocol.Debugger.ContinueToLocationRequestTargetCallFrames enum
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export const enum ContinueToLocationRequestTargetCallFrames
|
||||
```
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| Any | <code>'any'</code> | |
|
||||
| Current | <code>'current'</code> | |
|
||||
|
@ -17,5 +17,5 @@ export interface DebugSymbols
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [externalURL](./puppeteer.protocol.debugger.debugsymbols.externalurl.md) | string | URL of the external symbol source. |
|
||||
| [type](./puppeteer.protocol.debugger.debugsymbols.type.md) | ('None' \| 'SourceMap' \| 'EmbeddedDWARF' \| 'ExternalDWARF') | Type of the debug symbols. |
|
||||
| [type](./puppeteer.protocol.debugger.debugsymbols.type.md) | ('None' \| 'SourceMap' \| 'EmbeddedDWARF' \| 'ExternalDWARF') | Type of the debug symbols. (DebugSymbolsType enum) |
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
## Protocol.Debugger.DebugSymbols.type property
|
||||
|
||||
Type of the debug symbols.
|
||||
Type of the debug symbols. (DebugSymbolsType enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
21
new-docs/puppeteer.protocol.debugger.debugsymbolstype.md
Normal file
21
new-docs/puppeteer.protocol.debugger.debugsymbolstype.md
Normal file
@ -0,0 +1,21 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Debugger](./puppeteer.protocol.debugger.md) > [DebugSymbolsType](./puppeteer.protocol.debugger.debugsymbolstype.md)
|
||||
|
||||
## Protocol.Debugger.DebugSymbolsType enum
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export const enum DebugSymbolsType
|
||||
```
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| EmbeddedDWARF | <code>'EmbeddedDWARF'</code> | |
|
||||
| ExternalDWARF | <code>'ExternalDWARF'</code> | |
|
||||
| None | <code>'None'</code> | |
|
||||
| SourceMap | <code>'SourceMap'</code> | |
|
||||
|
@ -12,6 +12,18 @@ Debugger domain exposes JavaScript debugging capabilities. It allows setting and
|
||||
export namespace Debugger
|
||||
```
|
||||
|
||||
## Enumerations
|
||||
|
||||
| Enumeration | Description |
|
||||
| --- | --- |
|
||||
| [BreakLocationType](./puppeteer.protocol.debugger.breaklocationtype.md) | |
|
||||
| [ContinueToLocationRequestTargetCallFrames](./puppeteer.protocol.debugger.continuetolocationrequesttargetcallframes.md) | |
|
||||
| [DebugSymbolsType](./puppeteer.protocol.debugger.debugsymbolstype.md) | |
|
||||
| [PausedEventReason](./puppeteer.protocol.debugger.pausedeventreason.md) | |
|
||||
| [ScopeType](./puppeteer.protocol.debugger.scopetype.md) | |
|
||||
| [SetInstrumentationBreakpointRequestInstrumentation](./puppeteer.protocol.debugger.setinstrumentationbreakpointrequestinstrumentation.md) | |
|
||||
| [SetPauseOnExceptionsRequestState](./puppeteer.protocol.debugger.setpauseonexceptionsrequeststate.md) | |
|
||||
|
||||
## Interfaces
|
||||
|
||||
| Interface | Description |
|
||||
|
@ -22,5 +22,5 @@ export interface PausedEvent
|
||||
| [callFrames](./puppeteer.protocol.debugger.pausedevent.callframes.md) | [CallFrame](./puppeteer.protocol.debugger.callframe.md)<!-- -->\[\] | Call stack the virtual machine stopped on. |
|
||||
| [data](./puppeteer.protocol.debugger.pausedevent.data.md) | any | Object containing break-specific auxiliary properties. |
|
||||
| [hitBreakpoints](./puppeteer.protocol.debugger.pausedevent.hitbreakpoints.md) | string\[\] | Hit breakpoints IDs |
|
||||
| [reason](./puppeteer.protocol.debugger.pausedevent.reason.md) | ('ambiguous' \| 'assert' \| 'debugCommand' \| 'DOM' \| 'EventListener' \| 'exception' \| 'instrumentation' \| 'OOM' \| 'other' \| 'promiseRejection' \| 'XHR') | Pause reason. |
|
||||
| [reason](./puppeteer.protocol.debugger.pausedevent.reason.md) | ('ambiguous' \| 'assert' \| 'debugCommand' \| 'DOM' \| 'EventListener' \| 'exception' \| 'instrumentation' \| 'OOM' \| 'other' \| 'promiseRejection' \| 'XHR') | Pause reason. (PausedEventReason enum) |
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
## Protocol.Debugger.PausedEvent.reason property
|
||||
|
||||
Pause reason.
|
||||
Pause reason. (PausedEventReason enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
28
new-docs/puppeteer.protocol.debugger.pausedeventreason.md
Normal file
28
new-docs/puppeteer.protocol.debugger.pausedeventreason.md
Normal file
@ -0,0 +1,28 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Debugger](./puppeteer.protocol.debugger.md) > [PausedEventReason](./puppeteer.protocol.debugger.pausedeventreason.md)
|
||||
|
||||
## Protocol.Debugger.PausedEventReason enum
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export const enum PausedEventReason
|
||||
```
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| Ambiguous | <code>'ambiguous'</code> | |
|
||||
| Assert | <code>'assert'</code> | |
|
||||
| DebugCommand | <code>'debugCommand'</code> | |
|
||||
| DOM | <code>'DOM'</code> | |
|
||||
| EventListener | <code>'EventListener'</code> | |
|
||||
| Exception | <code>'exception'</code> | |
|
||||
| Instrumentation | <code>'instrumentation'</code> | |
|
||||
| OOM | <code>'OOM'</code> | |
|
||||
| Other | <code>'other'</code> | |
|
||||
| PromiseRejection | <code>'promiseRejection'</code> | |
|
||||
| XHR | <code>'XHR'</code> | |
|
||||
|
@ -20,5 +20,5 @@ export interface Scope
|
||||
| [name](./puppeteer.protocol.debugger.scope.name.md) | string | |
|
||||
| [object](./puppeteer.protocol.debugger.scope.object.md) | [Runtime.RemoteObject](./puppeteer.protocol.runtime.remoteobject.md) | Object representing the scope. For <code>global</code> and <code>with</code> scopes it represents the actual object; for the rest of the scopes, it is artificial transient object enumerating scope variables as its properties. |
|
||||
| [startLocation](./puppeteer.protocol.debugger.scope.startlocation.md) | [Location](./puppeteer.protocol.debugger.location.md) | Location in the source code where scope starts |
|
||||
| [type](./puppeteer.protocol.debugger.scope.type.md) | ('global' \| 'local' \| 'with' \| 'closure' \| 'catch' \| 'block' \| 'script' \| 'eval' \| 'module' \| 'wasm-expression-stack') | Scope type. |
|
||||
| [type](./puppeteer.protocol.debugger.scope.type.md) | ('global' \| 'local' \| 'with' \| 'closure' \| 'catch' \| 'block' \| 'script' \| 'eval' \| 'module' \| 'wasm-expression-stack') | Scope type. (ScopeType enum) |
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
## Protocol.Debugger.Scope.type property
|
||||
|
||||
Scope type.
|
||||
Scope type. (ScopeType enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
27
new-docs/puppeteer.protocol.debugger.scopetype.md
Normal file
27
new-docs/puppeteer.protocol.debugger.scopetype.md
Normal file
@ -0,0 +1,27 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Debugger](./puppeteer.protocol.debugger.md) > [ScopeType](./puppeteer.protocol.debugger.scopetype.md)
|
||||
|
||||
## Protocol.Debugger.ScopeType enum
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export const enum ScopeType
|
||||
```
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| Block | <code>'block'</code> | |
|
||||
| Catch | <code>'catch'</code> | |
|
||||
| Closure | <code>'closure'</code> | |
|
||||
| Eval | <code>'eval'</code> | |
|
||||
| Global | <code>'global'</code> | |
|
||||
| Local | <code>'local'</code> | |
|
||||
| Module | <code>'module'</code> | |
|
||||
| Script | <code>'script'</code> | |
|
||||
| WasmExpressionStack | <code>'wasm-expression-stack'</code> | |
|
||||
| With | <code>'with'</code> | |
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
## Protocol.Debugger.SetInstrumentationBreakpointRequest.instrumentation property
|
||||
|
||||
Instrumentation name.
|
||||
Instrumentation name. (SetInstrumentationBreakpointRequestInstrumentation enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
@ -14,5 +14,5 @@ export interface SetInstrumentationBreakpointRequest
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [instrumentation](./puppeteer.protocol.debugger.setinstrumentationbreakpointrequest.instrumentation.md) | ('beforeScriptExecution' \| 'beforeScriptWithSourceMapExecution') | Instrumentation name. |
|
||||
| [instrumentation](./puppeteer.protocol.debugger.setinstrumentationbreakpointrequest.instrumentation.md) | ('beforeScriptExecution' \| 'beforeScriptWithSourceMapExecution') | Instrumentation name. (SetInstrumentationBreakpointRequestInstrumentation enum) |
|
||||
|
||||
|
@ -0,0 +1,19 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Debugger](./puppeteer.protocol.debugger.md) > [SetInstrumentationBreakpointRequestInstrumentation](./puppeteer.protocol.debugger.setinstrumentationbreakpointrequestinstrumentation.md)
|
||||
|
||||
## Protocol.Debugger.SetInstrumentationBreakpointRequestInstrumentation enum
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export const enum SetInstrumentationBreakpointRequestInstrumentation
|
||||
```
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| BeforeScriptExecution | <code>'beforeScriptExecution'</code> | |
|
||||
| BeforeScriptWithSourceMapExecution | <code>'beforeScriptWithSourceMapExecution'</code> | |
|
||||
|
@ -14,5 +14,5 @@ export interface SetPauseOnExceptionsRequest
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [state](./puppeteer.protocol.debugger.setpauseonexceptionsrequest.state.md) | ('none' \| 'uncaught' \| 'all') | Pause on exceptions mode. |
|
||||
| [state](./puppeteer.protocol.debugger.setpauseonexceptionsrequest.state.md) | ('none' \| 'uncaught' \| 'all') | Pause on exceptions mode. (SetPauseOnExceptionsRequestState enum) |
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
## Protocol.Debugger.SetPauseOnExceptionsRequest.state property
|
||||
|
||||
Pause on exceptions mode.
|
||||
Pause on exceptions mode. (SetPauseOnExceptionsRequestState enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
@ -0,0 +1,20 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Debugger](./puppeteer.protocol.debugger.md) > [SetPauseOnExceptionsRequestState](./puppeteer.protocol.debugger.setpauseonexceptionsrequeststate.md)
|
||||
|
||||
## Protocol.Debugger.SetPauseOnExceptionsRequestState enum
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export const enum SetPauseOnExceptionsRequestState
|
||||
```
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| All | <code>'all'</code> | |
|
||||
| None | <code>'none'</code> | |
|
||||
| Uncaught | <code>'uncaught'</code> | |
|
||||
|
@ -12,6 +12,14 @@ This domain emulates different environments for the page.
|
||||
export namespace Emulation
|
||||
```
|
||||
|
||||
## Enumerations
|
||||
|
||||
| Enumeration | Description |
|
||||
| --- | --- |
|
||||
| [ScreenOrientationType](./puppeteer.protocol.emulation.screenorientationtype.md) | |
|
||||
| [SetEmitTouchEventsForMouseRequestConfiguration](./puppeteer.protocol.emulation.setemittoucheventsformouserequestconfiguration.md) | |
|
||||
| [SetEmulatedVisionDeficiencyRequestType](./puppeteer.protocol.emulation.setemulatedvisiondeficiencyrequesttype.md) | |
|
||||
|
||||
## Interfaces
|
||||
|
||||
| Interface | Description |
|
||||
|
@ -17,5 +17,5 @@ export interface ScreenOrientation
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [angle](./puppeteer.protocol.emulation.screenorientation.angle.md) | [integer](./puppeteer.protocol.integer.md) | Orientation angle. |
|
||||
| [type](./puppeteer.protocol.emulation.screenorientation.type.md) | ('portraitPrimary' \| 'portraitSecondary' \| 'landscapePrimary' \| 'landscapeSecondary') | Orientation type. |
|
||||
| [type](./puppeteer.protocol.emulation.screenorientation.type.md) | ('portraitPrimary' \| 'portraitSecondary' \| 'landscapePrimary' \| 'landscapeSecondary') | Orientation type. (ScreenOrientationType enum) |
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
## Protocol.Emulation.ScreenOrientation.type property
|
||||
|
||||
Orientation type.
|
||||
Orientation type. (ScreenOrientationType enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
@ -0,0 +1,21 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Emulation](./puppeteer.protocol.emulation.md) > [ScreenOrientationType](./puppeteer.protocol.emulation.screenorientationtype.md)
|
||||
|
||||
## Protocol.Emulation.ScreenOrientationType enum
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export const enum ScreenOrientationType
|
||||
```
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| LandscapePrimary | <code>'landscapePrimary'</code> | |
|
||||
| LandscapeSecondary | <code>'landscapeSecondary'</code> | |
|
||||
| PortraitPrimary | <code>'portraitPrimary'</code> | |
|
||||
| PortraitSecondary | <code>'portraitSecondary'</code> | |
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
## Protocol.Emulation.SetEmitTouchEventsForMouseRequest.configuration property
|
||||
|
||||
Touch/gesture events configuration. Default: current platform.
|
||||
Touch/gesture events configuration. Default: current platform. (SetEmitTouchEventsForMouseRequestConfiguration enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
@ -14,6 +14,6 @@ export interface SetEmitTouchEventsForMouseRequest
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [configuration](./puppeteer.protocol.emulation.setemittoucheventsformouserequest.configuration.md) | ('mobile' \| 'desktop') | Touch/gesture events configuration. Default: current platform. |
|
||||
| [configuration](./puppeteer.protocol.emulation.setemittoucheventsformouserequest.configuration.md) | ('mobile' \| 'desktop') | Touch/gesture events configuration. Default: current platform. (SetEmitTouchEventsForMouseRequestConfiguration enum) |
|
||||
| [enabled](./puppeteer.protocol.emulation.setemittoucheventsformouserequest.enabled.md) | boolean | Whether touch emulation based on mouse input should be enabled. |
|
||||
|
||||
|
@ -0,0 +1,19 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Emulation](./puppeteer.protocol.emulation.md) > [SetEmitTouchEventsForMouseRequestConfiguration](./puppeteer.protocol.emulation.setemittoucheventsformouserequestconfiguration.md)
|
||||
|
||||
## Protocol.Emulation.SetEmitTouchEventsForMouseRequestConfiguration enum
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export const enum SetEmitTouchEventsForMouseRequestConfiguration
|
||||
```
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| Desktop | <code>'desktop'</code> | |
|
||||
| Mobile | <code>'mobile'</code> | |
|
||||
|
@ -14,5 +14,5 @@ export interface SetEmulatedVisionDeficiencyRequest
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [type](./puppeteer.protocol.emulation.setemulatedvisiondeficiencyrequest.type.md) | ('none' \| 'achromatopsia' \| 'blurredVision' \| 'deuteranopia' \| 'protanopia' \| 'tritanopia') | Vision deficiency to emulate. |
|
||||
| [type](./puppeteer.protocol.emulation.setemulatedvisiondeficiencyrequest.type.md) | ('none' \| 'achromatopsia' \| 'blurredVision' \| 'deuteranopia' \| 'protanopia' \| 'tritanopia') | Vision deficiency to emulate. (SetEmulatedVisionDeficiencyRequestType enum) |
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
## Protocol.Emulation.SetEmulatedVisionDeficiencyRequest.type property
|
||||
|
||||
Vision deficiency to emulate.
|
||||
Vision deficiency to emulate. (SetEmulatedVisionDeficiencyRequestType enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
@ -0,0 +1,23 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Emulation](./puppeteer.protocol.emulation.md) > [SetEmulatedVisionDeficiencyRequestType](./puppeteer.protocol.emulation.setemulatedvisiondeficiencyrequesttype.md)
|
||||
|
||||
## Protocol.Emulation.SetEmulatedVisionDeficiencyRequestType enum
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export const enum SetEmulatedVisionDeficiencyRequestType
|
||||
```
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| Achromatopsia | <code>'achromatopsia'</code> | |
|
||||
| BlurredVision | <code>'blurredVision'</code> | |
|
||||
| Deuteranopia | <code>'deuteranopia'</code> | |
|
||||
| None | <code>'none'</code> | |
|
||||
| Protanopia | <code>'protanopia'</code> | |
|
||||
| Tritanopia | <code>'tritanopia'</code> | |
|
||||
|
@ -19,5 +19,5 @@ export interface AuthChallenge
|
||||
| [origin](./puppeteer.protocol.fetch.authchallenge.origin.md) | string | Origin of the challenger. |
|
||||
| [realm](./puppeteer.protocol.fetch.authchallenge.realm.md) | string | The realm of the challenge. May be empty. |
|
||||
| [scheme](./puppeteer.protocol.fetch.authchallenge.scheme.md) | string | The authentication scheme used, such as basic or digest |
|
||||
| [source](./puppeteer.protocol.fetch.authchallenge.source.md) | ('Server' \| 'Proxy') | Source of the authentication challenge. |
|
||||
| [source](./puppeteer.protocol.fetch.authchallenge.source.md) | ('Server' \| 'Proxy') | Source of the authentication challenge. (AuthChallengeSource enum) |
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
## Protocol.Fetch.AuthChallenge.source property
|
||||
|
||||
Source of the authentication challenge.
|
||||
Source of the authentication challenge. (AuthChallengeSource enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
@ -17,6 +17,6 @@ export interface AuthChallengeResponse
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [password](./puppeteer.protocol.fetch.authchallengeresponse.password.md) | string | The password to provide, possibly empty. Should only be set if response is ProvideCredentials. |
|
||||
| [response](./puppeteer.protocol.fetch.authchallengeresponse.response.md) | ('Default' \| 'CancelAuth' \| 'ProvideCredentials') | The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box. |
|
||||
| [response](./puppeteer.protocol.fetch.authchallengeresponse.response.md) | ('Default' \| 'CancelAuth' \| 'ProvideCredentials') | The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box. (AuthChallengeResponseResponse enum) |
|
||||
| [username](./puppeteer.protocol.fetch.authchallengeresponse.username.md) | string | The username to provide, possibly empty. Should only be set if response is ProvideCredentials. |
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
## Protocol.Fetch.AuthChallengeResponse.response property
|
||||
|
||||
The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box.
|
||||
The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box. (AuthChallengeResponseResponse enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
@ -0,0 +1,20 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Fetch](./puppeteer.protocol.fetch.md) > [AuthChallengeResponseResponse](./puppeteer.protocol.fetch.authchallengeresponseresponse.md)
|
||||
|
||||
## Protocol.Fetch.AuthChallengeResponseResponse enum
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export const enum AuthChallengeResponseResponse
|
||||
```
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| CancelAuth | <code>'CancelAuth'</code> | |
|
||||
| Default | <code>'Default'</code> | |
|
||||
| ProvideCredentials | <code>'ProvideCredentials'</code> | |
|
||||
|
19
new-docs/puppeteer.protocol.fetch.authchallengesource.md
Normal file
19
new-docs/puppeteer.protocol.fetch.authchallengesource.md
Normal file
@ -0,0 +1,19 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Fetch](./puppeteer.protocol.fetch.md) > [AuthChallengeSource](./puppeteer.protocol.fetch.authchallengesource.md)
|
||||
|
||||
## Protocol.Fetch.AuthChallengeSource enum
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export const enum AuthChallengeSource
|
||||
```
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| Proxy | <code>'Proxy'</code> | |
|
||||
| Server | <code>'Server'</code> | |
|
||||
|
@ -12,6 +12,13 @@ A domain for letting clients substitute browser's network layer with client code
|
||||
export namespace Fetch
|
||||
```
|
||||
|
||||
## Enumerations
|
||||
|
||||
| Enumeration | Description |
|
||||
| --- | --- |
|
||||
| [AuthChallengeResponseResponse](./puppeteer.protocol.fetch.authchallengeresponseresponse.md) | |
|
||||
| [AuthChallengeSource](./puppeteer.protocol.fetch.authchallengesource.md) | |
|
||||
|
||||
## Interfaces
|
||||
|
||||
| Interface | Description |
|
||||
|
@ -12,6 +12,12 @@ This domain provides experimental commands only supported in headless mode.
|
||||
export namespace HeadlessExperimental
|
||||
```
|
||||
|
||||
## Enumerations
|
||||
|
||||
| Enumeration | Description |
|
||||
| --- | --- |
|
||||
| [ScreenshotParamsFormat](./puppeteer.protocol.headlessexperimental.screenshotparamsformat.md) | |
|
||||
|
||||
## Interfaces
|
||||
|
||||
| Interface | Description |
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
## Protocol.HeadlessExperimental.ScreenshotParams.format property
|
||||
|
||||
Image compression format (defaults to png).
|
||||
Image compression format (defaults to png). (ScreenshotParamsFormat enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
@ -16,6 +16,6 @@ export interface ScreenshotParams
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [format](./puppeteer.protocol.headlessexperimental.screenshotparams.format.md) | ('jpeg' \| 'png') | Image compression format (defaults to png). |
|
||||
| [format](./puppeteer.protocol.headlessexperimental.screenshotparams.format.md) | ('jpeg' \| 'png') | Image compression format (defaults to png). (ScreenshotParamsFormat enum) |
|
||||
| [quality](./puppeteer.protocol.headlessexperimental.screenshotparams.quality.md) | [integer](./puppeteer.protocol.integer.md) | Compression quality from range \[0..100\] (jpeg only). |
|
||||
|
||||
|
@ -0,0 +1,19 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [HeadlessExperimental](./puppeteer.protocol.headlessexperimental.md) > [ScreenshotParamsFormat](./puppeteer.protocol.headlessexperimental.screenshotparamsformat.md)
|
||||
|
||||
## Protocol.HeadlessExperimental.ScreenshotParamsFormat enum
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export const enum ScreenshotParamsFormat
|
||||
```
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| Jpeg | <code>'jpeg'</code> | |
|
||||
| Png | <code>'png'</code> | |
|
||||
|
@ -20,5 +20,5 @@ export interface Key
|
||||
| [date](./puppeteer.protocol.indexeddb.key.date.md) | number | Date value. |
|
||||
| [number](./puppeteer.protocol.indexeddb.key.number.md) | number | Number value. |
|
||||
| [string](./puppeteer.protocol.indexeddb.key.string.md) | string | String value. |
|
||||
| [type](./puppeteer.protocol.indexeddb.key.type.md) | ('number' \| 'string' \| 'date' \| 'array') | Key type. |
|
||||
| [type](./puppeteer.protocol.indexeddb.key.type.md) | ('number' \| 'string' \| 'date' \| 'array') | Key type. (KeyType enum) |
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
## Protocol.IndexedDB.Key.type property
|
||||
|
||||
Key type.
|
||||
Key type. (KeyType enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
@ -18,5 +18,5 @@ export interface KeyPath
|
||||
| --- | --- | --- |
|
||||
| [array](./puppeteer.protocol.indexeddb.keypath.array.md) | string\[\] | Array value. |
|
||||
| [string](./puppeteer.protocol.indexeddb.keypath.string.md) | string | String value. |
|
||||
| [type](./puppeteer.protocol.indexeddb.keypath.type.md) | ('null' \| 'string' \| 'array') | Key path type. |
|
||||
| [type](./puppeteer.protocol.indexeddb.keypath.type.md) | ('null' \| 'string' \| 'array') | Key path type. (KeyPathType enum) |
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
## Protocol.IndexedDB.KeyPath.type property
|
||||
|
||||
Key path type.
|
||||
Key path type. (KeyPathType enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
20
new-docs/puppeteer.protocol.indexeddb.keypathtype.md
Normal file
20
new-docs/puppeteer.protocol.indexeddb.keypathtype.md
Normal file
@ -0,0 +1,20 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [IndexedDB](./puppeteer.protocol.indexeddb.md) > [KeyPathType](./puppeteer.protocol.indexeddb.keypathtype.md)
|
||||
|
||||
## Protocol.IndexedDB.KeyPathType enum
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export const enum KeyPathType
|
||||
```
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| Array | <code>'array'</code> | |
|
||||
| Null | <code>'null'</code> | |
|
||||
| String | <code>'string'</code> | |
|
||||
|
21
new-docs/puppeteer.protocol.indexeddb.keytype.md
Normal file
21
new-docs/puppeteer.protocol.indexeddb.keytype.md
Normal file
@ -0,0 +1,21 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [IndexedDB](./puppeteer.protocol.indexeddb.md) > [KeyType](./puppeteer.protocol.indexeddb.keytype.md)
|
||||
|
||||
## Protocol.IndexedDB.KeyType enum
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export const enum KeyType
|
||||
```
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| Array | <code>'array'</code> | |
|
||||
| Date | <code>'date'</code> | |
|
||||
| Number | <code>'number'</code> | |
|
||||
| String | <code>'string'</code> | |
|
||||
|
@ -10,6 +10,13 @@
|
||||
export namespace IndexedDB
|
||||
```
|
||||
|
||||
## Enumerations
|
||||
|
||||
| Enumeration | Description |
|
||||
| --- | --- |
|
||||
| [KeyPathType](./puppeteer.protocol.indexeddb.keypathtype.md) | |
|
||||
| [KeyType](./puppeteer.protocol.indexeddb.keytype.md) | |
|
||||
|
||||
## Interfaces
|
||||
|
||||
| Interface | Description |
|
||||
|
@ -0,0 +1,13 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Input](./puppeteer.protocol.input.md) > [DispatchKeyEventRequest](./puppeteer.protocol.input.dispatchkeyeventrequest.md) > [commands](./puppeteer.protocol.input.dispatchkeyeventrequest.commands.md)
|
||||
|
||||
## Protocol.Input.DispatchKeyEventRequest.commands property
|
||||
|
||||
Editing commands to send with the key event (e.g., 'selectAll') (default: \[\]). These are related to but not equal the command names used in `document.execCommand` and NSStandardKeyBindingResponding. See https://source.chromium.org/chromium/chromium/src/+/master:third\_party/blink/renderer/core/editing/commands/editor\_command\_names.h for valid command names.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
commands?: string[];
|
||||
```
|
@ -16,6 +16,7 @@ export interface DispatchKeyEventRequest
|
||||
| --- | --- | --- |
|
||||
| [autoRepeat](./puppeteer.protocol.input.dispatchkeyeventrequest.autorepeat.md) | boolean | Whether the event was generated from auto repeat (default: false). |
|
||||
| [code](./puppeteer.protocol.input.dispatchkeyeventrequest.code.md) | string | Unique DOM defined string value for each physical key (e.g., 'KeyA') (default: ""). |
|
||||
| [commands](./puppeteer.protocol.input.dispatchkeyeventrequest.commands.md) | string\[\] | Editing commands to send with the key event (e.g., 'selectAll') (default: \[\]). These are related to but not equal the command names used in <code>document.execCommand</code> and NSStandardKeyBindingResponding. See https://source.chromium.org/chromium/chromium/src/+/master:third\_party/blink/renderer/core/editing/commands/editor\_command\_names.h for valid command names. |
|
||||
| [isKeypad](./puppeteer.protocol.input.dispatchkeyeventrequest.iskeypad.md) | boolean | Whether the event was generated from the keypad (default: false). |
|
||||
| [isSystemKey](./puppeteer.protocol.input.dispatchkeyeventrequest.issystemkey.md) | boolean | Whether the event was a system key event (default: false). |
|
||||
| [key](./puppeteer.protocol.input.dispatchkeyeventrequest.key.md) | string | Unique DOM defined string value describing the meaning of the key in the context of active modifiers, keyboard layout, etc (e.g., 'AltGr') (default: ""). |
|
||||
@ -25,7 +26,7 @@ export interface DispatchKeyEventRequest
|
||||
| [nativeVirtualKeyCode](./puppeteer.protocol.input.dispatchkeyeventrequest.nativevirtualkeycode.md) | [integer](./puppeteer.protocol.integer.md) | Native virtual key code (default: 0). |
|
||||
| [text](./puppeteer.protocol.input.dispatchkeyeventrequest.text.md) | string | Text as generated by processing a virtual key code with a keyboard layout. Not needed for for <code>keyUp</code> and <code>rawKeyDown</code> events (default: "") |
|
||||
| [timestamp](./puppeteer.protocol.input.dispatchkeyeventrequest.timestamp.md) | [TimeSinceEpoch](./puppeteer.protocol.input.timesinceepoch.md) | Time at which the event occurred. |
|
||||
| [type](./puppeteer.protocol.input.dispatchkeyeventrequest.type.md) | ('keyDown' \| 'keyUp' \| 'rawKeyDown' \| 'char') | Type of the key event. |
|
||||
| [type](./puppeteer.protocol.input.dispatchkeyeventrequest.type.md) | ('keyDown' \| 'keyUp' \| 'rawKeyDown' \| 'char') | Type of the key event. (DispatchKeyEventRequestType enum) |
|
||||
| [unmodifiedText](./puppeteer.protocol.input.dispatchkeyeventrequest.unmodifiedtext.md) | string | Text that would have been generated by the keyboard if no modifiers were pressed (except for shift). Useful for shortcut (accelerator) key handling (default: ""). |
|
||||
| [windowsVirtualKeyCode](./puppeteer.protocol.input.dispatchkeyeventrequest.windowsvirtualkeycode.md) | [integer](./puppeteer.protocol.integer.md) | Windows virtual key code (default: 0). |
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
## Protocol.Input.DispatchKeyEventRequest.type property
|
||||
|
||||
Type of the key event.
|
||||
Type of the key event. (DispatchKeyEventRequestType enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
@ -0,0 +1,21 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Input](./puppeteer.protocol.input.md) > [DispatchKeyEventRequestType](./puppeteer.protocol.input.dispatchkeyeventrequesttype.md)
|
||||
|
||||
## Protocol.Input.DispatchKeyEventRequestType enum
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export const enum DispatchKeyEventRequestType
|
||||
```
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| Char | <code>'char'</code> | |
|
||||
| KeyDown | <code>'keyDown'</code> | |
|
||||
| KeyUp | <code>'keyUp'</code> | |
|
||||
| RawKeyDown | <code>'rawKeyDown'</code> | |
|
||||
|
@ -20,9 +20,9 @@ export interface DispatchMouseEventRequest
|
||||
| [deltaX](./puppeteer.protocol.input.dispatchmouseeventrequest.deltax.md) | number | X delta in CSS pixels for mouse wheel event (default: 0). |
|
||||
| [deltaY](./puppeteer.protocol.input.dispatchmouseeventrequest.deltay.md) | number | Y delta in CSS pixels for mouse wheel event (default: 0). |
|
||||
| [modifiers](./puppeteer.protocol.input.dispatchmouseeventrequest.modifiers.md) | [integer](./puppeteer.protocol.integer.md) | Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0). |
|
||||
| [pointerType](./puppeteer.protocol.input.dispatchmouseeventrequest.pointertype.md) | ('mouse' \| 'pen') | Pointer type (default: "mouse"). |
|
||||
| [pointerType](./puppeteer.protocol.input.dispatchmouseeventrequest.pointertype.md) | ('mouse' \| 'pen') | Pointer type (default: "mouse"). (DispatchMouseEventRequestPointerType enum) |
|
||||
| [timestamp](./puppeteer.protocol.input.dispatchmouseeventrequest.timestamp.md) | [TimeSinceEpoch](./puppeteer.protocol.input.timesinceepoch.md) | Time at which the event occurred. |
|
||||
| [type](./puppeteer.protocol.input.dispatchmouseeventrequest.type.md) | ('mousePressed' \| 'mouseReleased' \| 'mouseMoved' \| 'mouseWheel') | Type of the mouse event. |
|
||||
| [type](./puppeteer.protocol.input.dispatchmouseeventrequest.type.md) | ('mousePressed' \| 'mouseReleased' \| 'mouseMoved' \| 'mouseWheel') | Type of the mouse event. (DispatchMouseEventRequestType enum) |
|
||||
| [x](./puppeteer.protocol.input.dispatchmouseeventrequest.x.md) | number | X coordinate of the event relative to the main frame's viewport in CSS pixels. |
|
||||
| [y](./puppeteer.protocol.input.dispatchmouseeventrequest.y.md) | number | Y coordinate of the event relative to the main frame's viewport in CSS pixels. 0 refers to the top of the viewport and Y increases as it proceeds towards the bottom of the viewport. |
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
## Protocol.Input.DispatchMouseEventRequest.pointerType property
|
||||
|
||||
Pointer type (default: "mouse").
|
||||
Pointer type (default: "mouse"). (DispatchMouseEventRequestPointerType enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
## Protocol.Input.DispatchMouseEventRequest.type property
|
||||
|
||||
Type of the mouse event.
|
||||
Type of the mouse event. (DispatchMouseEventRequestType enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
@ -0,0 +1,19 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Input](./puppeteer.protocol.input.md) > [DispatchMouseEventRequestPointerType](./puppeteer.protocol.input.dispatchmouseeventrequestpointertype.md)
|
||||
|
||||
## Protocol.Input.DispatchMouseEventRequestPointerType enum
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export const enum DispatchMouseEventRequestPointerType
|
||||
```
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| Mouse | <code>'mouse'</code> | |
|
||||
| Pen | <code>'pen'</code> | |
|
||||
|
@ -0,0 +1,21 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Input](./puppeteer.protocol.input.md) > [DispatchMouseEventRequestType](./puppeteer.protocol.input.dispatchmouseeventrequesttype.md)
|
||||
|
||||
## Protocol.Input.DispatchMouseEventRequestType enum
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export const enum DispatchMouseEventRequestType
|
||||
```
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| MouseMoved | <code>'mouseMoved'</code> | |
|
||||
| MousePressed | <code>'mousePressed'</code> | |
|
||||
| MouseReleased | <code>'mouseReleased'</code> | |
|
||||
| MouseWheel | <code>'mouseWheel'</code> | |
|
||||
|
@ -17,5 +17,5 @@ export interface DispatchTouchEventRequest
|
||||
| [modifiers](./puppeteer.protocol.input.dispatchtoucheventrequest.modifiers.md) | [integer](./puppeteer.protocol.integer.md) | Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0). |
|
||||
| [timestamp](./puppeteer.protocol.input.dispatchtoucheventrequest.timestamp.md) | [TimeSinceEpoch](./puppeteer.protocol.input.timesinceepoch.md) | Time at which the event occurred. |
|
||||
| [touchPoints](./puppeteer.protocol.input.dispatchtoucheventrequest.touchpoints.md) | [TouchPoint](./puppeteer.protocol.input.touchpoint.md)<!-- -->\[\] | Active touch points on the touch device. One event per any changed point (compared to previous touch event in a sequence) is generated, emulating pressing/moving/releasing points one by one. |
|
||||
| [type](./puppeteer.protocol.input.dispatchtoucheventrequest.type.md) | ('touchStart' \| 'touchEnd' \| 'touchMove' \| 'touchCancel') | Type of the touch event. TouchEnd and TouchCancel must not contain any touch points, while TouchStart and TouchMove must contains at least one. |
|
||||
| [type](./puppeteer.protocol.input.dispatchtoucheventrequest.type.md) | ('touchStart' \| 'touchEnd' \| 'touchMove' \| 'touchCancel') | Type of the touch event. TouchEnd and TouchCancel must not contain any touch points, while TouchStart and TouchMove must contains at least one. (DispatchTouchEventRequestType enum) |
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
## Protocol.Input.DispatchTouchEventRequest.type property
|
||||
|
||||
Type of the touch event. TouchEnd and TouchCancel must not contain any touch points, while TouchStart and TouchMove must contains at least one.
|
||||
Type of the touch event. TouchEnd and TouchCancel must not contain any touch points, while TouchStart and TouchMove must contains at least one. (DispatchTouchEventRequestType enum)
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user