Skip to content

Commit b57f340

Browse files
committed
chore: roll to the release-1.8 branch tip
1 parent bcee6e3 commit b57f340

File tree

3 files changed

+6
-15
lines changed

3 files changed

+6
-15
lines changed

playwright/async_api/_generated.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2548,7 +2548,6 @@ async def eval_on_selector_all(
25482548
```
25492549
25502550
```py
2551-
# FIXME
25522551
feed_handle = await page.query_selector(\".feed\")
25532552
assert await feed_handle.eval_on_selector_all(\".tweet\", \"nodes => nodes.map(n => n.innerText)\") == [\"hello!\", \"hi!\"]
25542553
```
@@ -3190,7 +3189,6 @@ async def evaluate_handle(
31903189
then[ method: Fframe.evaluateHandle`] would wait for the promise to resolve and return its value.
31913190
31923191
```py
3193-
# FIXME
31943192
a_window_handle = await frame.evaluate_handle(\"Promise.resolve(window)\")
31953193
a_window_handle # handle for the window object.
31963194
```
@@ -6006,7 +6004,6 @@ async def evaluate_handle(
60066004
would wait for the promise to resolve and return its value.
60076005
60086006
```py
6009-
# FIXME
60106007
a_window_handle = await page.evaluate_handle(\"Promise.resolve(window)\")
60116008
a_window_handle # handle for the window object.
60126009
```
@@ -9234,9 +9231,8 @@ async def storage_state(
92349231
Parameters
92359232
----------
92369233
path : Union[pathlib.Path, str, NoneType]
9237-
The file path to save the storage state to. If `path` is a relative path, then it is resolved relative to
9238-
[current working directory](https://nodejs.org/api/process.html#process_process_cwd). If no path is provided, storage
9239-
state is still returned, but won't be saved to the disk.
9234+
The file path to save the storage state to. If `path` is a relative path, then it is resolved relative to current
9235+
working directory. If no path is provided, storage state is still returned, but won't be saved to the disk.
92409236
92419237
Returns
92429238
-------

playwright/sync_api/_generated.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1920,7 +1920,6 @@ def select_option(
19201920
```
19211921
19221922
```py
1923-
# FIXME
19241923
# single selection matching the value
19251924
handle.select_option(\"blue\")
19261925
# single selection matching both the value and the label
@@ -9451,9 +9450,8 @@ def storage_state(
94519450
Parameters
94529451
----------
94539452
path : Union[pathlib.Path, str, NoneType]
9454-
The file path to save the storage state to. If `path` is a relative path, then it is resolved relative to
9455-
[current working directory](https://nodejs.org/api/process.html#process_process_cwd). If no path is provided, storage
9456-
state is still returned, but won't be saved to the disk.
9453+
The file path to save the storage state to. If `path` is a relative path, then it is resolved relative to current
9454+
working directory. If no path is provided, storage state is still returned, but won't be saved to the disk.
94579455
94589456
Returns
94599457
-------

setup.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import setuptools
2424
from wheel.bdist_wheel import bdist_wheel as BDistWheelCommand
2525

26-
driver_version = "1.8.0-next-1611093761000"
26+
driver_version = "1.8.0-1611168053000"
2727

2828

2929
with open("README.md", "r", encoding="utf-8") as fh:
@@ -55,10 +55,7 @@ def run(self) -> None:
5555
for platform in ["mac", "linux", "win32", "win32_x64"]:
5656
zip_file = f"playwright-{driver_version}-{platform}.zip"
5757
if not os.path.exists("driver/" + zip_file):
58-
url = "https://playwright.azureedge.net/builds/driver/"
59-
if "-next" in driver_version:
60-
url = url + "next/"
61-
url = url + zip_file
58+
url = "https://playwright.azureedge.net/builds/driver/next/" + zip_file
6259
print("Fetching ", url)
6360
subprocess.check_call(
6461
["curl", "--http1.1", url, "-o", "driver/" + zip_file]

0 commit comments

Comments
 (0)