Skip to content

chore(roll): roll Playwright to 1.23.0-alpha-may-27-2022 #1329

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Playwright is a Python library to automate [Chromium](https://www.chromium.org/H

| | Linux | macOS | Windows |
| :--- | :---: | :---: | :---: |
| Chromium <!-- GEN:chromium-version -->102.0.5005.40<!-- GEN:stop --> | ✅ | ✅ | ✅ |
| Chromium <!-- GEN:chromium-version -->102.0.5005.61<!-- GEN:stop --> | ✅ | ✅ | ✅ |
| WebKit <!-- GEN:webkit-version -->15.4<!-- GEN:stop --> | ✅ | ✅ | ✅ |
| Firefox <!-- GEN:firefox-version -->99.0.1<!-- GEN:stop --> | ✅ | ✅ | ✅ |

Expand Down
12 changes: 9 additions & 3 deletions playwright/async_api/_generated.py
Original file line number Diff line number Diff line change
Expand Up @@ -2591,7 +2591,9 @@ async def screenshot(
scale : Union["css", "device", NoneType]
When set to `"css"`, screenshot will have a single pixel per each css pixel on the page. For high-dpi devices, this will
keep screenshots small. Using `"device"` option will produce a single pixel per each device pixel, so screenhots of
high-dpi devices will be twice as large or even larger. Defaults to `"device"`.
high-dpi devices will be twice as large or even larger.

Defaults to `"device"`.
mask : Union[List[Locator], NoneType]
Specify locators that should be masked when the screenshot is taken. Masked elements will be overlayed with a pink box
`#FF00FF` that completely covers its bounding box.
Expand Down Expand Up @@ -8168,7 +8170,9 @@ async def screenshot(
scale : Union["css", "device", NoneType]
When set to `"css"`, screenshot will have a single pixel per each css pixel on the page. For high-dpi devices, this will
keep screenshots small. Using `"device"` option will produce a single pixel per each device pixel, so screenhots of
high-dpi devices will be twice as large or even larger. Defaults to `"device"`.
high-dpi devices will be twice as large or even larger.

Defaults to `"device"`.
mask : Union[List[Locator], NoneType]
Specify locators that should be masked when the screenshot is taken. Masked elements will be overlayed with a pink box
`#FF00FF` that completely covers its bounding box.
Expand Down Expand Up @@ -13515,7 +13519,9 @@ async def screenshot(
scale : Union["css", "device", NoneType]
When set to `"css"`, screenshot will have a single pixel per each css pixel on the page. For high-dpi devices, this will
keep screenshots small. Using `"device"` option will produce a single pixel per each device pixel, so screenhots of
high-dpi devices will be twice as large or even larger. Defaults to `"device"`.
high-dpi devices will be twice as large or even larger.

Defaults to `"device"`.
mask : Union[List[Locator], NoneType]
Specify locators that should be masked when the screenshot is taken. Masked elements will be overlayed with a pink box
`#FF00FF` that completely covers its bounding box.
Expand Down
12 changes: 9 additions & 3 deletions playwright/sync_api/_generated.py
Original file line number Diff line number Diff line change
Expand Up @@ -2540,7 +2540,9 @@ def screenshot(
scale : Union["css", "device", NoneType]
When set to `"css"`, screenshot will have a single pixel per each css pixel on the page. For high-dpi devices, this will
keep screenshots small. Using `"device"` option will produce a single pixel per each device pixel, so screenhots of
high-dpi devices will be twice as large or even larger. Defaults to `"device"`.
high-dpi devices will be twice as large or even larger.

Defaults to `"device"`.
mask : Union[List[Locator], NoneType]
Specify locators that should be masked when the screenshot is taken. Masked elements will be overlayed with a pink box
`#FF00FF` that completely covers its bounding box.
Expand Down Expand Up @@ -7979,7 +7981,9 @@ def screenshot(
scale : Union["css", "device", NoneType]
When set to `"css"`, screenshot will have a single pixel per each css pixel on the page. For high-dpi devices, this will
keep screenshots small. Using `"device"` option will produce a single pixel per each device pixel, so screenhots of
high-dpi devices will be twice as large or even larger. Defaults to `"device"`.
high-dpi devices will be twice as large or even larger.

Defaults to `"device"`.
mask : Union[List[Locator], NoneType]
Specify locators that should be masked when the screenshot is taken. Masked elements will be overlayed with a pink box
`#FF00FF` that completely covers its bounding box.
Expand Down Expand Up @@ -13235,7 +13239,9 @@ def screenshot(
scale : Union["css", "device", NoneType]
When set to `"css"`, screenshot will have a single pixel per each css pixel on the page. For high-dpi devices, this will
keep screenshots small. Using `"device"` option will produce a single pixel per each device pixel, so screenhots of
high-dpi devices will be twice as large or even larger. Defaults to `"device"`.
high-dpi devices will be twice as large or even larger.

Defaults to `"device"`.
mask : Union[List[Locator], NoneType]
Specify locators that should be masked when the screenshot is taken. Masked elements will be overlayed with a pink box
`#FF00FF` that completely covers its bounding box.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
InWheel = None
from wheel.bdist_wheel import bdist_wheel as BDistWheelCommand

driver_version = "1.22.0"
driver_version = "1.23.0-alpha-may-27-2022"


def extractall(zip: zipfile.ZipFile, path: str) -> None:
Expand Down