Skip to content

Commit 57bebfd

Browse files
authored
feat(roll): roll to 1618513089000 (microsoft#622)
1 parent 463c6df commit 57bebfd

File tree

8 files changed

+254
-155
lines changed

8 files changed

+254
-155
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Playwright is a Python library to automate [Chromium](https://www.chromium.org/H
66

77
| | Linux | macOS | Windows |
88
| :--- | :---: | :---: | :---: |
9-
| Chromium <!-- GEN:chromium-version -->91.0.4455.0<!-- GEN:stop --> ||||
9+
| Chromium <!-- GEN:chromium-version -->91.0.4469.0<!-- GEN:stop --> ||||
1010
| WebKit <!-- GEN:webkit-version -->14.2<!-- GEN:stop --> ||||
11-
| Firefox <!-- GEN:firefox-version -->88.0b6<!-- GEN:stop --> ||||
11+
| Firefox <!-- GEN:firefox-version -->88.0b8<!-- GEN:stop --> ||||
1212

1313
Headless execution is supported for all browsers on all platforms.
1414

playwright/_impl/_element_handle.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,20 @@ async def press(
200200
await self._channel.send("press", locals_to_params(locals()))
201201

202202
async def check(
203-
self, timeout: float = None, force: bool = None, noWaitAfter: bool = None
203+
self,
204+
position: Position = None,
205+
timeout: float = None,
206+
force: bool = None,
207+
noWaitAfter: bool = None,
204208
) -> None:
205209
await self._channel.send("check", locals_to_params(locals()))
206210

207211
async def uncheck(
208-
self, timeout: float = None, force: bool = None, noWaitAfter: bool = None
212+
self,
213+
position: Position = None,
214+
timeout: float = None,
215+
force: bool = None,
216+
noWaitAfter: bool = None,
209217
) -> None:
210218
await self._channel.send("uncheck", locals_to_params(locals()))
211219

playwright/_impl/_frame.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,7 @@ async def press(
501501
async def check(
502502
self,
503503
selector: str,
504+
position: Position = None,
504505
timeout: float = None,
505506
force: bool = None,
506507
noWaitAfter: bool = None,
@@ -510,6 +511,7 @@ async def check(
510511
async def uncheck(
511512
self,
512513
selector: str,
514+
position: Position = None,
513515
timeout: float = None,
514516
force: bool = None,
515517
noWaitAfter: bool = None,

playwright/_impl/_page.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,7 @@ async def press(
712712
async def check(
713713
self,
714714
selector: str,
715+
position: Position = None,
715716
timeout: float = None,
716717
force: bool = None,
717718
noWaitAfter: bool = None,
@@ -721,6 +722,7 @@ async def check(
721722
async def uncheck(
722723
self,
723724
selector: str,
725+
position: Position = None,
724726
timeout: float = None,
725727
force: bool = None,
726728
noWaitAfter: bool = None,

playwright/async_api/_generated.py

Lines changed: 117 additions & 75 deletions
Large diffs are not rendered by default.

playwright/sync_api/_generated.py

Lines changed: 117 additions & 75 deletions
Large diffs are not rendered by default.

scripts/generate_sync_api.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
import inspect
1717
import re
18+
import sys
1819
from types import FunctionType
1920
from typing import Any, get_type_hints # type: ignore
2021

@@ -118,6 +119,8 @@ def generate(t: Any) -> None:
118119

119120

120121
def main() -> None:
122+
assert sys.version_info >= (3, 9)
123+
121124
print(header)
122125
print(
123126
"from playwright._impl._sync_base import EventContextManager, SyncBase, mapping"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from auditwheel.wheeltools import InWheel
2525
from wheel.bdist_wheel import bdist_wheel as BDistWheelCommand
2626

27-
driver_version = "1.11.0-next-1617404897000"
27+
driver_version = "1.11.0-next-1618513089000"
2828

2929

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

0 commit comments

Comments
 (0)