mirror of
https://github.com/daijro/camoufox.git
synced 2026-09-07 08:00:35 +00:00
pythonlib: Fix broken import #70 0.3.8
This commit is contained in:
@@ -6,7 +6,7 @@ import orjson
|
||||
from playwright._impl._driver import compute_driver_executable
|
||||
|
||||
from camoufox.pkgman import LOCAL_DATA
|
||||
from camoufox.utils import get_launch_options
|
||||
from camoufox.utils import launch_options
|
||||
|
||||
LAUNCH_SCRIPT: Path = LOCAL_DATA / "launchServer.js"
|
||||
|
||||
@@ -44,7 +44,7 @@ def launch_server(**kwargs) -> NoReturn:
|
||||
Launch a Playwright server. Takes the same arguments as `Camoufox()`.
|
||||
Prints the websocket endpoint to the console.
|
||||
"""
|
||||
config = get_launch_options(**kwargs)
|
||||
config = launch_options(**kwargs)
|
||||
nodejs = get_nodejs()
|
||||
|
||||
data = orjson.dumps(to_camel_case_dict(config)).decode()
|
||||
|
||||
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[tool.poetry]
|
||||
name = "camoufox"
|
||||
version = "0.3.7"
|
||||
version = "0.3.8"
|
||||
description = "Wrapper around Playwright to help launch Camoufox"
|
||||
authors = ["daijro <daijro.dev@gmail.com>"]
|
||||
license = "MIT"
|
||||
|
||||
Reference in New Issue
Block a user