diff --git a/pythonlib/camoufox/browserforge.yml b/pythonlib/camoufox/browserforge.yml index cf5962e..697dac3 100644 --- a/pythonlib/camoufox/browserforge.yml +++ b/pythonlib/camoufox/browserforge.yml @@ -48,9 +48,9 @@ screen: # clientWidth: document.body.clientWidth # clientHeight: document.body.clientHeight -videoCard: - renderer: webGl:renderer - vendor: webGl:vendor +# videoCard: +# renderer: webgl:renderer +# vendor: webgl:vendor headers: # headers.User-Agent is redundant with navigator.userAgent @@ -63,4 +63,4 @@ battery: dischargingTime: battery:dischargingTime # Unsupported: videoCodecs, audioCodecs, pluginsData, multimediaDevices -# Fonts are listed through the launcher. \ No newline at end of file +# Fonts are listed through the launcher. diff --git a/pythonlib/camoufox/utils.py b/pythonlib/camoufox/utils.py index e6dfd30..e671c42 100644 --- a/pythonlib/camoufox/utils.py +++ b/pythonlib/camoufox/utils.py @@ -122,6 +122,8 @@ def validate_type(value: Any, expected_type: str) -> bool: return isinstance(value, bool) elif expected_type == "array": return isinstance(value, list) + elif expected_type == "dict": + return isinstance(value, dict) else: return False diff --git a/pythonlib/pyproject.toml b/pythonlib/pyproject.toml index 976ef60..6c085ea 100644 --- a/pythonlib/pyproject.toml +++ b/pythonlib/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "camoufox" -version = "0.2.14" +version = "0.2.15" description = "Wrapper around Playwright to help launch Camoufox" authors = ["daijro "] license = "MIT"