Hi, here is the simple piece of reproducible code
import zendriver as zd
import asyncio
newfeature = asyncio.get_event_loop().run_until_complete(zd.start(()))
When I am running powershell as administrator, this will fail and I will get
Exception:
---------------------
Failed to connect to browser
---------------------
One of the causes could be when you are running as root.
In that case you need to pass no_sandbox=True
But when I am NOT running as administrator, it can works.
I have tried to start Chrome using subprocess.Popen, and connect with zendriver.start(host, port) as administrator, it works. So maybe there is some problems in zd.start()
Hi, here is the simple piece of reproducible code
When I am running powershell as administrator, this will fail and I will get
But when I am NOT running as administrator, it can works.
I have tried to start Chrome using
subprocess.Popen, and connect withzendriver.start(host, port)as administrator, it works. So maybe there is some problems inzd.start()