-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
enhancementMaking things betterMaking things better
Description
Discussed in #1087
Originally posted by webmoskal November 28, 2021
Can't figure out how to make desired_cap work with selenoid. Selenoid expects "selenoid:options", {"enableVNC": True}
Tried: pytest [test] --server=http://localhost:4444/wd/hub --chrome --cap-string='{"selenoid:options": {"enableVNC": true}}' True triggers json.loads error
So far only able to make it work by adding chrome_options.set_capability("selenoid:options", {"enableVNC": True}) to seleniumbase>core>browser_launcher.py>get_remote_driver
if selenium4:
chrome_options.set_capability("cloud:options", capabilities)
chrome_options.set_capability("selenoid:options", {"enableVNC": True})
return webdriver.Remote(
command_executor=address,
options=chrome_options,
keep_alive=True,
)
Metadata
Metadata
Assignees
Labels
enhancementMaking things betterMaking things better