Skip to content

chore: roll to 1.62.0-alpha-1784109367000#3134

Open
Skn0tt wants to merge 4 commits into
mainfrom
skn0tt-roll-1-62-0-alpha-1784109367000
Open

chore: roll to 1.62.0-alpha-1784109367000#3134
Skn0tt wants to merge 4 commits into
mainfrom
skn0tt-roll-1-62-0-alpha-1784109367000

Conversation

@Skn0tt

@Skn0tt Skn0tt commented Jul 15, 2026

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
@Skn0tt 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
@Skn0tt 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
@Skn0tt Skn0tt requested a review from dgozman July 16, 2026 07:38
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.

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

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.

Same question here - why is this suddenly ignoring exception?

Comment thread playwright/_impl/_page.py
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.

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

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