GeezerVison is showing github.com — feat(roll): roll Playwright 1.16.0-next-1634703014000 (#970) · Coder-Soder/playwright-python@a0a6536
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: README.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -6,7 +6,7 @@ Playwright is a Python library to automate [Chromium](https://www.chromium.org/H | 6 | 6 | | :--- | :---: | :---: | :---: | | 7 | 7 | | Chromium <!-- GEN:chromium-version -->97.0.4666.0<!-- GEN:stop --> | ✅ | ✅ | ✅ | | 8 | 8 | | WebKit <!-- GEN:webkit-version -->15.4<!-- GEN:stop --> | ✅ | ✅ | ✅ | | 9 | | -| Firefox <!-- GEN:firefox-version -->92.0<!-- GEN:stop --> | ✅ | ✅ | ✅ | | | 9 | +| Firefox <!-- GEN:firefox-version -->93.0<!-- GEN:stop --> | ✅ | ✅ | ✅ | | 10 | 10 |
| 11 | 11 | ## Documentation | 12 | 12 |
| |
Collapse file Copy file name to clipboardExpand all lines: playwright/async_api/_generated.py +2-1Lines changed: 2 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -7651,7 +7651,8 @@ async def set_viewport_size(self, viewport_size: ViewportSize) -> NoneType: | 7651 | 7651 | `browser.new_context()` allows to set viewport size (and more) for all pages in the context at once. | 7652 | 7652 |
| 7653 | 7653 | `page.setViewportSize` will resize the page. A lot of websites don't expect phones to change size, so you should set the | 7654 | | - viewport size before navigating to the page. | | 7654 | + viewport size before navigating to the page. `page.set_viewport_size()` will also reset `screen` size, use | | 7655 | + `browser.new_context()` with `screen` and `viewport` parameters if you need better control of these properties. | 7655 | 7656 |
| 7656 | 7657 | ```py | 7657 | 7658 | page = await browser.new_page() | |
Collapse file Copy file name to clipboardExpand all lines: playwright/sync_api/_generated.py +2-1Lines changed: 2 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -7466,7 +7466,8 @@ def set_viewport_size(self, viewport_size: ViewportSize) -> NoneType: | 7466 | 7466 | `browser.new_context()` allows to set viewport size (and more) for all pages in the context at once. | 7467 | 7467 |
| 7468 | 7468 | `page.setViewportSize` will resize the page. A lot of websites don't expect phones to change size, so you should set the | 7469 | | - viewport size before navigating to the page. | | 7469 | + viewport size before navigating to the page. `page.set_viewport_size()` will also reset `screen` size, use | | 7470 | + `browser.new_context()` with `screen` and `viewport` parameters if you need better control of these properties. | 7470 | 7471 |
| 7471 | 7472 | ```py | 7472 | 7473 | page = browser.new_page() | |
Collapse file Copy file name to clipboardExpand all lines: scripts/update_api.sh +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -19,4 +19,6 @@ function update_api { | 19 | 19 | update_api "playwright/sync_api/_generated.py" "scripts/generate_sync_api.py" | 20 | 20 | update_api "playwright/async_api/_generated.py" "scripts/generate_async_api.py" | 21 | 21 |
| | 22 | +playwright install | | 23 | + | 22 | 24 | python scripts/update_versions.py |
Collapse file Copy file name to clipboardExpand all lines: setup.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 28 | 28 | InWheel = None | 29 | 29 | from wheel.bdist_wheel import bdist_wheel as BDistWheelCommand | 30 | 30 |
| 31 | | -driver_version = "1.16.0-next-1634054506000" | | 31 | +driver_version = "1.16.0-next-1634703014000" | 32 | 32 |
| 33 | 33 |
| 34 | 34 | def extractall(zip: zipfile.ZipFile, path: str) -> None: | |
Collapse file Copy file name to clipboardExpand all lines: tests/async/test_network.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -759,7 +759,7 @@ async def test_response_server_addr(page: Page, server: Server): | 759 | 759 | async def test_response_security_details( | 760 | 760 | browser: Browser, https_server: Server, browser_name, is_win, is_linux | 761 | 761 | ): | 762 | | - if browser_name == "webkit" and is_linux: | | 762 | + if (browser_name == "webkit" and is_linux) or (browser_name == "webkit" and is_win): | 763 | 763 | pytest.skip("https://github.com/microsoft/playwright/issues/6759") | 764 | 764 | page = await browser.new_page(ignore_https_errors=True) | 765 | 765 | response = await page.goto(https_server.EMPTY_PAGE) | |
Collapse file Copy file name to clipboardExpand all lines: tests/sync/test_network.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -34,7 +34,7 @@ def test_response_security_details( | 34 | 34 | is_win: bool, | 35 | 35 | is_linux: bool, | 36 | 36 | ) -> None: | 37 | | - if browser_name == "webkit" and is_linux: | | 37 | + if (browser_name == "webkit" and is_linux) or (browser_name == "webkit" and is_win): | 38 | 38 | pytest.skip("https://github.com/microsoft/playwright/issues/6759") | 39 | 39 | page = browser.new_page(ignore_https_errors=True) | 40 | 40 | response = page.goto(https_server.EMPTY_PAGE) | |
|