mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 10:12:06 -08:00
pythonlib: Add dict expected type 0.2.15
Adds support for beta.12.
This commit is contained in:
parent
ad3b3f04fe
commit
216718845c
3 changed files with 7 additions and 5 deletions
|
|
@ -48,9 +48,9 @@ screen:
|
||||||
# clientWidth: document.body.clientWidth
|
# clientWidth: document.body.clientWidth
|
||||||
# clientHeight: document.body.clientHeight
|
# clientHeight: document.body.clientHeight
|
||||||
|
|
||||||
videoCard:
|
# videoCard:
|
||||||
renderer: webGl:renderer
|
# renderer: webgl:renderer
|
||||||
vendor: webGl:vendor
|
# vendor: webgl:vendor
|
||||||
|
|
||||||
headers:
|
headers:
|
||||||
# headers.User-Agent is redundant with navigator.userAgent
|
# headers.User-Agent is redundant with navigator.userAgent
|
||||||
|
|
@ -63,4 +63,4 @@ battery:
|
||||||
dischargingTime: battery:dischargingTime
|
dischargingTime: battery:dischargingTime
|
||||||
|
|
||||||
# Unsupported: videoCodecs, audioCodecs, pluginsData, multimediaDevices
|
# Unsupported: videoCodecs, audioCodecs, pluginsData, multimediaDevices
|
||||||
# Fonts are listed through the launcher.
|
# Fonts are listed through the launcher.
|
||||||
|
|
|
||||||
|
|
@ -122,6 +122,8 @@ def validate_type(value: Any, expected_type: str) -> bool:
|
||||||
return isinstance(value, bool)
|
return isinstance(value, bool)
|
||||||
elif expected_type == "array":
|
elif expected_type == "array":
|
||||||
return isinstance(value, list)
|
return isinstance(value, list)
|
||||||
|
elif expected_type == "dict":
|
||||||
|
return isinstance(value, dict)
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
||||||
|
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "camoufox"
|
name = "camoufox"
|
||||||
version = "0.2.14"
|
version = "0.2.15"
|
||||||
description = "Wrapper around Playwright to help launch Camoufox"
|
description = "Wrapper around Playwright to help launch Camoufox"
|
||||||
authors = ["daijro <daijro.dev@gmail.com>"]
|
authors = ["daijro <daijro.dev@gmail.com>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue