mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
parent
91fa838969
commit
dd26529b3d
@ -1,6 +1,6 @@
|
||||
# 🎭 Playwright
|
||||
|
||||
[](https://www.npmjs.com/package/playwright) [](https://aka.ms/playwright-slack) <!-- GEN:chromium-version-badge -->[](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> <!-- GEN:webkit-version-badge -->[](https://webkit.org/)<!-- GEN:stop -->
|
||||
[](https://www.npmjs.com/package/playwright) [](https://aka.ms/playwright-slack) <!-- GEN:chromium-version-badge -->[](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> <!-- GEN:webkit-version-badge -->[](https://webkit.org/)<!-- GEN:stop -->
|
||||
|
||||
## [Documentation](https://playwright.dev) | [API reference](https://playwright.dev/docs/api/class-playwright/)
|
||||
|
||||
@ -10,7 +10,7 @@ Playwright is a Node.js library to automate [Chromium](https://www.chromium.org/
|
||||
| :--- | :---: | :---: | :---: |
|
||||
| Chromium <!-- GEN:chromium-version -->93.0.4543.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 -->89.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
||||
| Firefox <!-- GEN:firefox-version -->90.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
||||
|
||||
Headless execution is supported for all the browsers on all platforms. Check out [system requirements](https://playwright.dev/docs/intro/#system-requirements) for details.
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
},
|
||||
{
|
||||
"name": "firefox",
|
||||
"revision": "1274",
|
||||
"revision": "1278",
|
||||
"installByDefault": true
|
||||
},
|
||||
{
|
||||
|
@ -664,7 +664,7 @@
|
||||
"defaultBrowserType": "webkit"
|
||||
},
|
||||
"JioPhone 2": {
|
||||
"userAgent": "Mozilla/5.0 (Mobile; LYF/F300B/LYF-F300B-001-01-15-130718-i;Android; rv:89.0 Gecko/48.0 Firefox/89.0 KAIOS/2.5",
|
||||
"userAgent": "Mozilla/5.0 (Mobile; LYF/F300B/LYF-F300B-001-01-15-130718-i;Android; rv:89.0 Gecko/48.0 Firefox/90.0 KAIOS/2.5",
|
||||
"viewport": {
|
||||
"width": 240,
|
||||
"height": 320
|
||||
@ -675,7 +675,7 @@
|
||||
"defaultBrowserType": "firefox"
|
||||
},
|
||||
"JioPhone 2 landscape": {
|
||||
"userAgent": "Mozilla/5.0 (Mobile; LYF/F300B/LYF-F300B-001-01-15-130718-i;Android; rv:89.0 Gecko/48.0 Firefox/89.0 KAIOS/2.5",
|
||||
"userAgent": "Mozilla/5.0 (Mobile; LYF/F300B/LYF-F300B-001-01-15-130718-i;Android; rv:89.0 Gecko/48.0 Firefox/90.0 KAIOS/2.5",
|
||||
"viewport": {
|
||||
"width": 320,
|
||||
"height": 240
|
||||
|
20
src/server/firefox/protocol.d.ts
vendored
20
src/server/firefox/protocol.d.ts
vendored
@ -835,6 +835,14 @@ export module Protocol {
|
||||
requestStart: number;
|
||||
responseStart: number;
|
||||
};
|
||||
export type InterceptedResponse = {
|
||||
status: number;
|
||||
statusText: string;
|
||||
headers: {
|
||||
name: string;
|
||||
value: string;
|
||||
}[];
|
||||
};
|
||||
export type requestWillBeSentPayload = {
|
||||
frameId?: string;
|
||||
requestId: string;
|
||||
@ -914,8 +922,18 @@ export module Protocol {
|
||||
value: string;
|
||||
}[];
|
||||
postData?: string;
|
||||
interceptResponse?: boolean;
|
||||
};
|
||||
export type resumeInterceptedRequestReturnValue = {
|
||||
response?: {
|
||||
status: number;
|
||||
statusText: string;
|
||||
headers: {
|
||||
name: string;
|
||||
value: string;
|
||||
}[];
|
||||
};
|
||||
};
|
||||
export type resumeInterceptedRequestReturnValue = void;
|
||||
export type fulfillInterceptedRequestParameters = {
|
||||
requestId: string;
|
||||
status: number;
|
||||
|
Loading…
x
Reference in New Issue
Block a user