Closed
Description
For some reason my chromedriver keeps crashing after opening the devtools if the uv_driver file already exists (meaning every run after the first). Deleting the uc_driver fixes this (until it exists again)
Steps to reproduce:
- Make a new directory (optional)
- Install seleniumbase (preferably in a venv)
- Get a driver instance up and running using the uc mode (see code below for what I used)
- Open devtools -> works fine
- Let the driver exit
- Restart the script
- Open devtools -> crash
Deleting uc_driver (for me under the path .venv/lib/python3.13/site-packages/seleniumbase/drivers/uc_driver
) fixes this until it exists again (which is after the next run).
OS: Arch 6.12.25-1-lts
Chromedriver version: ChromeDriver 135.0.7049.114
uc_driver version: ChromeDriver 135.0.7049.114
Code i used:
import seleniumbase
with seleniumbase.SB(uc=True) as sb:
sb.driver.uc_open_with_reconnect("https://google.com")
breakpoint()
There are no error message or anything else