Facing this error when trying create new_context in selenium_driverless
if self._ws.open:
^^^^^^^^^^^^^
AttributeError: 'ClientConnection' object has no attribute 'open'
Tryed downgrading versions of cdp_socket and selenium_driverless, error still exist
How to reproduce:
from selenium_driverless import webdriver
import asyncio
async def main():
options = webdriver.ChromeOptions()
async with webdriver.Chrome(options=options) as driver:
context_1 = driver.current_context
await context_1.get("chrome://extensions/")
await asyncio.sleep(10)
await driver.set_auth("username", "password", "localhost:5000")
# proxy not supported on windows due to https://bugs.chromium.org/p/chromium/issues/detail?id=1310057
context_2 = await driver.new_context()
await context_1.current_target.get("https://examle.com")
await context_2.get("https://examle.com")
input("press ENTER to exit:)")
asyncio.run(main())
Facing this error when trying create
new_context
inselenium_driverless
Tryed downgrading versions of
cdp_socket
andselenium_driverless
, error still exist How to reproduce:Versions: