Skip to content

Commit

Permalink
Update to r876873
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-s committed Apr 29, 2021
1 parent 0f54f05 commit 1d5d273
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 22 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# 🎭 Playwright

[![npm version](https://img.shields.io/npm/v/playwright.svg?style=flat)](https://www.npmjs.com/package/playwright) [![Join Slack](https://img.shields.io/badge/join-slack-infomational)](https://aka.ms/playwright-slack) <!-- GEN:chromium-version-badge -->[![Chromium version](https://img.shields.io/badge/chromium-92.0.4484.0-blue.svg?logo=google-chrome)](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[![Firefox version](https://img.shields.io/badge/firefox-88.0b8-blue.svg?logo=mozilla-firefox)](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> <!-- GEN:webkit-version-badge -->[![WebKit version](https://img.shields.io/badge/webkit-14.2-blue.svg?logo=safari)](https://webkit.org/)<!-- GEN:stop -->
[![npm version](https://img.shields.io/npm/v/playwright.svg?style=flat)](https://www.npmjs.com/package/playwright) [![Join Slack](https://img.shields.io/badge/join-slack-infomational)](https://aka.ms/playwright-slack) <!-- GEN:chromium-version-badge -->[![Chromium version](https://img.shields.io/badge/chromium-92.0.4491.0-blue.svg?logo=google-chrome)](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[![Firefox version](https://img.shields.io/badge/firefox-88.0b8-blue.svg?logo=mozilla-firefox)](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> <!-- GEN:webkit-version-badge -->[![WebKit version](https://img.shields.io/badge/webkit-14.2-blue.svg?logo=safari)](https://webkit.org/)<!-- GEN:stop -->

## [Documentation](https://playwright.dev) | [API reference](https://playwright.dev/docs/api/class-playwright/)

Playwright is a Node.js library to automate [Chromium](https://www.chromium.org/Home), [Firefox](https://www.mozilla.org/en-US/firefox/new/) and [WebKit](https://webkit.org/) with a single API. Playwright is built to enable cross-browser web automation that is **ever-green**, **capable**, **reliable** and **fast**.

| | Linux | macOS | Windows |
| :--- | :---: | :---: | :---: |
| Chromium <!-- GEN:chromium-version -->92.0.4484.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| Chromium <!-- GEN:chromium-version -->92.0.4491.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| WebKit <!-- GEN:webkit-version -->14.2<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| Firefox <!-- GEN:firefox-version -->88.0b8<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |

Expand Down
2 changes: 1 addition & 1 deletion browsers.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"browsers": [
{
"name": "chromium",
"revision": "874500",
"revision": "876873",
"installByDefault": true
},
{
Expand Down
41 changes: 22 additions & 19 deletions src/server/chromium/protocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ some CSP errors in the future.
export type SharedArrayBufferIssueType = "TransferIssue"|"CreationIssue";
/**
* Details for a issue arising from an SAB being instantiated in, or
transfered to a context that is not cross-origin isolated.
transferred to a context that is not cross-origin isolated.
*/
export interface SharedArrayBufferIssueDetails {
sourceCodeLocation: SourceCodeLocation;
Expand Down Expand Up @@ -858,7 +858,7 @@ CORS RFC1918 enforcement.
resourceIPAddressSpace?: Network.IPAddressSpace;
clientSecurityState?: Network.ClientSecurityState;
}
export type AttributionReportingIssueType = "PermissionPolicyDisabled"|"InvalidAttributionData";
export type AttributionReportingIssueType = "PermissionPolicyDisabled"|"InvalidAttributionData"|"AttributionSourceUntrustworthyOrigin";
/**
* Details for issues around "Attribution Reporting API" usage.
Explainer: https://github.com/WICG/conversion-measurement-api
Expand Down Expand Up @@ -1284,7 +1284,7 @@ their dowmload guids.
*/
browserContextId?: BrowserContextID;
/**
* The default path to save downloaded files to. This is requred if behavior is set to 'allow'
* The default path to save downloaded files to. This is required if behavior is set to 'allow'
or 'allowAndName'.
*/
downloadPath?: string;
Expand Down Expand Up @@ -3004,11 +3004,11 @@ The property is always undefined now.
nodeId: NodeId;
}
/**
* Called when distrubution is changed.
* Called when distribution is changed.
*/
export type distributedNodesUpdatedPayload = {
/**
* Insertion point where distrubuted nodes were updated.
* Insertion point where distributed nodes were updated.
*/
insertionPointId: NodeId;
/**
Expand Down Expand Up @@ -4908,14 +4908,14 @@ Missing optional values will be filled in by the target with what it would norma
result: boolean;
}
/**
* Clears the overriden device metrics.
* Clears the overridden device metrics.
*/
export type clearDeviceMetricsOverrideParameters = {
}
export type clearDeviceMetricsOverrideReturnValue = {
}
/**
* Clears the overriden Geolocation Position and Error.
* Clears the overridden Geolocation Position and Error.
*/
export type clearGeolocationOverrideParameters = {
}
Expand Down Expand Up @@ -5193,7 +5193,7 @@ Note any previous deferred policy change is superseded.
*/
waitForNavigation?: boolean;
/**
* If set, base::Time::Now will be overriden to initially return this value.
* If set, base::Time::Now will be overridden to initially return this value.
*/
initialVirtualTime?: Network.TimeSinceEpoch;
}
Expand Down Expand Up @@ -5369,7 +5369,7 @@ display. Reported for diagnostic uses, may be removed in the future.
*/
export module IO {
/**
* This is either obtained from another method or specifed as `blob:&lt;uuid&gt;` where
* This is either obtained from another method or specified as `blob:&lt;uuid&gt;` where
`&lt;uuid&gt` is an UUID of a Blob.
*/
export type StreamHandle = string;
Expand Down Expand Up @@ -5414,7 +5414,7 @@ following the last read). Some types of streams may only support sequential read
*/
data: string;
/**
* Set if the end-of-file condition occured while reading.
* Set if the end-of-file condition occurred while reading.
*/
eof: boolean;
}
Expand Down Expand Up @@ -7583,7 +7583,7 @@ backslash. Omitting is equivalent to "*".
*/
resourceType?: ResourceType;
/**
* Stage at wich to begin intercepting requests. Default is Request.
* Stage at which to begin intercepting requests. Default is Request.
*/
interceptionStage?: InterceptionStage;
}
Expand Down Expand Up @@ -10429,7 +10429,7 @@ iframes, shadow DOM, external resources, and element-inline styles.
data: string;
}
/**
* Clears the overriden device metrics.
* Clears the overridden device metrics.
*/
export type clearDeviceMetricsOverrideParameters = {
}
Expand All @@ -10443,7 +10443,7 @@ iframes, shadow DOM, external resources, and element-inline styles.
export type clearDeviceOrientationOverrideReturnValue = {
}
/**
* Clears the overriden Geolocation Position and Error.
* Clears the overridden Geolocation Position and Error.
*/
export type clearGeolocationOverrideParameters = {
}
Expand Down Expand Up @@ -11024,7 +11024,7 @@ available (otherwise deny).
*/
behavior: "deny"|"allow"|"default";
/**
* The default path to save downloaded files to. This is requred if behavior is set to 'allow'
* The default path to save downloaded files to. This is required if behavior is set to 'allow'
*/
downloadPath?: string;
}
Expand Down Expand Up @@ -11992,7 +11992,7 @@ Tokens from that issuer.
origin: string;
/**
* The quota size (in bytes) to override the original quota with.
If this is called multiple times, the overriden quota will be equal to
If this is called multiple times, the overridden quota will be equal to
the quotaSize provided in the final call. If this is called without
specifying a quotaSize, the quota will be reset to the default value for
the specified origin. If this is called multiple times with different
Expand Down Expand Up @@ -12930,7 +12930,7 @@ backslash. Omitting is equivalent to "*".
*/
resourceType?: Network.ResourceType;
/**
* Stage at wich to begin intercepting requests. Default is Request.
* Stage at which to begin intercepting requests. Default is Request.
*/
requestStage?: RequestStage;
}
Expand Down Expand Up @@ -13264,7 +13264,7 @@ https://webaudio.github.io/web-audio-api/
*/
currentTime: number;
/**
* The time spent on rendering graph divided by render qunatum duration,
* The time spent on rendering graph divided by render quantum duration,
and multiplied by 100. 100 means the audio renderer reached the full
capacity and glitch may occur.
*/
Expand Down Expand Up @@ -13721,8 +13721,8 @@ congestion. If batched, events must ALWAYS be in chronological order.
errors: PlayerError[];
}
/**
* Called whenever a player is created, or when a new agent joins and recieves
a list of active players. If an agent is restored, it will recieve the full
* Called whenever a player is created, or when a new agent joins and receives
a list of active players. If an agent is restored, it will receive the full
list of player ids and all events again.
*/
export type playersCreatedPayload = {
Expand Down Expand Up @@ -16244,6 +16244,9 @@ Each binding function call produces Runtime.bindingCalled notification.
execution context. If omitted and `executionContextName` is not set,
the binding is exposed to all execution contexts of the target.
This parameter is mutually exclusive with `executionContextName`.
Deprecated in favor of `executionContextName` due to an unclear use case
and bugs in implementation (crbug.com/1169639). `executionContextId` will be
removed in the future.
*/
executionContextId?: ExecutionContextId;
/**
Expand Down

0 comments on commit 1d5d273

Please sign in to comment.