mirror of
https://github.com/daijro/camoufox.git
synced 2026-09-08 16:01:00 +00:00
Support Playwright 1.61+.
- Remove package pin to allow Playwright >=1.61. - Adds WebSocket frame timestamps to Juggler events. - Extends viewport and setViewportSize protocol data with screenSize, isMobile, and deviceScaleFactor. - Adds WebP screenshot support, including a default quality of 100. - Updates the protocol schemas to describe the new fields and screenshot format. Playwright 1.61 sends viewport.isMobile in Browser.setDefaultViewport, which the juggler's protocol schema rejected -- every context creation failed, so the whole Playwright suite errored out at fixture setup rather than reporting results. This fixes the schema rather than capping the version. Cherry-picked from daijro/camoufox#742 (closes #653). Co-authored-by: LamerLink <36551116+LamerLink@users.noreply.github.com>
This commit is contained in:
@@ -33,7 +33,7 @@ rich = "*"
|
||||
requests = "*"
|
||||
orjson = "*"
|
||||
browserforge = "^1.2.4"
|
||||
playwright = "<1.61"
|
||||
playwright = "*"
|
||||
pyyaml = "*"
|
||||
platformdirs = "*"
|
||||
numpy = "*"
|
||||
|
||||
Reference in New Issue
Block a user