Skip to content

chore(roll): roll Playwright to 1.30.0-alpha-jan-16-2023 #1725

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
Jan 17, 2023
Merged
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -4,9 +4,9 @@ Playwright is a Python library to automate [Chromium](https://www.chromium.org/H

| | Linux | macOS | Windows |
| :--- | :---: | :---: | :---: |
| Chromium <!-- GEN:chromium-version -->109.0.5414.46<!-- GEN:stop --> ||||
| Chromium <!-- GEN:chromium-version -->109.0.5414.74<!-- GEN:stop --> ||||
| WebKit <!-- GEN:webkit-version -->16.4<!-- GEN:stop --> ||||
| Firefox <!-- GEN:firefox-version -->107.0<!-- GEN:stop --> ||||
| Firefox <!-- GEN:firefox-version -->108.0.2<!-- GEN:stop --> ||||

## Documentation

5 changes: 4 additions & 1 deletion playwright/_impl/_page.py
Original file line number Diff line number Diff line change
@@ -954,7 +954,10 @@ def request(self) -> "APIRequestContext":
return self.context.request

async def pause(self) -> None:
await self._browser_context._pause()
await asyncio.wait(
[self._browser_context._pause(), self._closed_or_crashed_future],
return_when=asyncio.FIRST_COMPLETED,
)

async def pdf(
self,
1,100 changes: 945 additions & 155 deletions playwright/async_api/_generated.py

Large diffs are not rendered by default.

1,100 changes: 945 additions & 155 deletions playwright/sync_api/_generated.py

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions scripts/expected_api_mismatch.txt
Original file line number Diff line number Diff line change
@@ -8,13 +8,14 @@ Parameter not documented: Browser.new_page(default_browser_type=)
Parameter type mismatch in Accessibility.snapshot(return=): documented as Union[{role: str, name: str, value: Union[float, str], description: str, keyshortcuts: str, roledescription: str, valuetext: str, disabled: bool, expanded: bool, focused: bool, modal: bool, multiline: bool, multiselectable: bool, readonly: bool, required: bool, selected: bool, checked: Union["mixed", bool], pressed: Union["mixed", bool], level: int, valuemin: float, valuemax: float, autocomplete: str, haspopup: str, invalid: str, orientation: str, children: List[Dict]}, None], code has Union[Dict, None]

# One vs two arguments in the callback, Python explicitly unions.
Parameter type mismatch in BrowserContext.route(handler=): documented as Callable[[Route, Request], Any], code has Union[Callable[[Route, Request], Any], Callable[[Route], Any]]
Parameter type mismatch in BrowserContext.route(handler=): documented as Callable[[Route, Request], Union[Any, Any]], code has Union[Callable[[Route, Request], Any], Callable[[Route], Any]]
Parameter type mismatch in BrowserContext.unroute(handler=): documented as Union[Callable[[Route, Request], Any], None], code has Union[Callable[[Route, Request], Any], Callable[[Route], Any], None]
Parameter type mismatch in Page.route(handler=): documented as Callable[[Route, Request], Any], code has Union[Callable[[Route, Request], Any], Callable[[Route], Any]]
Parameter type mismatch in Page.route(handler=): documented as Callable[[Route, Request], Union[Any, Any]], code has Union[Callable[[Route, Request], Any], Callable[[Route], Any]]
Parameter type mismatch in Page.unroute(handler=): documented as Union[Callable[[Route, Request], Any], None], code has Union[Callable[[Route, Request], Any], Callable[[Route], Any], None]

# Temporary Fix
Method not implemented: Error.name
Method not implemented: Error.stack
Method not implemented: Error.message
Method not implemented: PlaywrightAssertions.expect
Method not implemented: Locator.viewport_ratio
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@
InWheel = None
from wheel.bdist_wheel import bdist_wheel as BDistWheelCommand

driver_version = "1.29.1"
driver_version = "1.30.0-alpha-jan-16-2023"


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