mirror of
https://github.com/feder-cr/invisible_playwright.git
synced 2026-07-22 11:51:11 +02:00
fix(deps): pin playwright to 1.55.x, bump 0.3.1
Playwright 1.61 adds an isMobile field to the Browser.setDefaultViewport Juggler command that the FF150 binary does not accept, which breaks the session (#48). Narrow the range from >=1.40,<1.61 to the CI-tested 1.55.x (scripts/playwright_pin.txt), so a fresh install always gets a compatible client.
This commit is contained in:
parent
a1b75d93e9
commit
e09cc07f69
1 changed files with 6 additions and 3 deletions
|
|
@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|||
|
||||
[project]
|
||||
name = "invisible-playwright"
|
||||
version = "0.3.0"
|
||||
version = "0.3.1"
|
||||
description = "Playwright wrapper for a patched Firefox with deterministic stealth profile."
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.11"
|
||||
|
|
@ -24,11 +24,14 @@ dependencies = [
|
|||
# in invisible-core since the 2026-07-03 split; it pulls platformdirs/requests/
|
||||
# maxminddb/tzdata/tqdm/pywin32 transitively. The wrapper only adds Playwright.
|
||||
"invisible-core @ git+https://github.com/feder-cr/invisible_core.git",
|
||||
"playwright>=1.40,<1.61",
|
||||
# Pinned to the Juggler client we actually test against (scripts/playwright_pin.txt,
|
||||
# 1.55.x). Playwright 1.61 added an isMobile field to Browser.setDefaultViewport that
|
||||
# the FF150 Juggler does not accept, which breaks the session (issue #48).
|
||||
"playwright>=1.55,<1.56",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = ["pytest>=7", "pytest-mock>=3", "responses>=0.24", "build>=1", "pytest-rerunfailures>=14", "playwright>=1.40,<1.61"]
|
||||
dev = ["pytest>=7", "pytest-mock>=3", "responses>=0.24", "build>=1", "pytest-rerunfailures>=14", "playwright>=1.55,<1.56"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
markers = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue