-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Selenium and Chrome DevToolsActivePort file doesn't exist after 89/90 chrome invocations #92
Comments
I seem to be getting a similar issue. I started getting it after the latest update of xvfb so I am suspecting it is an issue with xvfb. |
|
Well I can confirm that my issue or at least part of my issue was in the latest version of Since it is not available on the official repo anymore. I did: wget -O /tmp/xvfb.deb http://launchpadlibrarian.net/702315346/xvfb_1.20.13-1ubuntu1~20.04.12_amd64.deb
apt install -y --allow-downgrades /tmp/xvfb.deb But since I see you are on jammy, your last package is probably this instead:
If it works for you too it should confirm that we had the same issue and that there is something weird going on with the latest version of |
Thanks for the pointers. Downgrading xvfb worked for visibility=0 so your diagnosis looks good but I still get same failure at 89 with visible=1 suggesting there is also an issue in xephyr? (Not that I need visibility=1 got my use case) display.py backend selection:
|
I am not 100% sure this is a pyVirtualDisplay problem (could be chrome or underlying libraries) but the following code fails for me at a count of 90 when visible=0 and 89 when visible=1. If I don't create Display it will run to 99, so something about the virtual display seems to be involved (hence the bug report here).
with traceback:
Some information:
selenium==4.14.0
pyvirtualdisplay==3.0
I know the above are not an exact match, I get the same with chrome 121 and a matching chromedriver.
The text was updated successfully, but these errors were encountered: