FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore: roll to 1.62.0-alpha-1784109367000 by Skn0tt · Pull Request #3134 · microsoft/playwright-python · GitHub

chore: roll to 1.62.0-alpha-1784109367000 - #3134

Merged
Simon Knott (Skn0tt) merged 5 commits into
mainfrom
skn0tt-roll-1-62-0-alpha-1784109367000
Jul 17, 2026
Merged

chore: roll to 1.62.0-alpha-1784109367000#3134
Simon Knott (Skn0tt) merged 5 commits into
mainfrom
skn0tt-roll-1-62-0-alpha-1784109367000

Conversation

Simon Knott (Skn0tt) commented Jul 15, 2026
edited
Loading

Copy link
Copy Markdown
Member

Summary

  • Roll the driver to 1.62.0-alpha-2026-07-16 (Node 24.18.0).
  • Adapt channel sends to the new protocol-level timeout metadata field.
  • Port the public API changes: routeFromHar(interceptAPIRequests=), storageState(credentials=), Locator.wait_for_function(), the scroll action option, screenshot webp output, and APIResponse.timing().
  • Mirror upstream's non-BiDi Firefox skip for the client-redirect navigation race.

AbortSignal is intentionally not ported to Python, I might connect __abort__ to task cancellation. I'll do it in a followup because it's possibly breaking.

Port the public API changes introduced upstream since 1.61 and adapt the
client to the protocol-level timeout metadata field.

- feat(routeFromHar): interceptAPIRequests option
- feat(webauthn): credentials option on BrowserContext.storageState
- feat(locator): Locator.wait_for_function()
- feat(actions): scroll option to opt out of autoscroll
- feat(screenshot): webp output format
- adapt channel sends to send timeout as protocol-level metadata

AbortSignal is intentionally not ported to Python.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 3813c827-3dfc-44a4-9433-cae8c2919c95
Simon Knott (Skn0tt) force-pushed the skn0tt-roll-1-62-0-alpha-1784109367000 branch from 75bc6eb to 9947444 Compare July 15, 2026 14:39
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 3813c827-3dfc-44a4-9433-cae8c2919c95
Simon Knott (Skn0tt) marked this pull request as ready for review July 15, 2026 15:35
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 3813c827-3dfc-44a4-9433-cae8c2919c95
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 3813c827-3dfc-44a4-9433-cae8c2919c95
finally:
if len(self._routes) == 0:
asyncio.create_task(
create_task_and_ignore_exception(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Why this change? Can you link to the upstream counterpart?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Comment thread playwright/_impl/_network.py Outdated
raise Error("Already connected to the server")
self._connected = True
asyncio.create_task(
create_task_and_ignore_exception(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Same question here - why is this suddenly ignoring exception?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Comment thread playwright/_impl/_page.py Outdated
result = await result
await self._channel.send(
"resolve", None, dict(result=serialize_argument(result))
create_task_and_ignore_exception(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

It looks like most of these create_task_and_ignore_exception calls are wrapping channel.send. Perhaps create a channel.send_may_fail helper?

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 3813c827-3dfc-44a4-9433-cae8c2919c95
Simon Knott (Skn0tt) merged commit 9d7aded into main Jul 17, 2026
32 of 35 checks passed
Simon Knott (Skn0tt) deleted the skn0tt-roll-1-62-0-alpha-1784109367000 branch July 17, 2026 08:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL