Closed mdmintz closed 2 months ago
This is the same issue I am seeing on my Mac, only it never succeeds. My code looks like this:
with SB(uc=True, test=True) as sb: sb.driver.uc_open_with_reconnect('https://www.cnn.com/', 3)
It was only intermittent for me, and very rare.
This was resolved in 4.29.9
- https://github.com/seleniumbase/SeleniumBase/releases/tag/v4.29.9
Weird, I tried it on my desktop (Windows) and seems like it's working fine there, any way to get detailed logging?
Review the stack trace, if available. Also try breakpoint()
for manual debugging.
Prevent intermittent
SessionNotCreatedException
during UC ModeHere's where it happened: https://github.com/mdmintz/undetected-testing/actions/runs/10306599780/job/28530036367
I'm not sure what caused it, but I can add a retry when launching the browser during UC Mode. Also, it's possible that it was caused by a GitHub Actions issue, since it hasn't happened in 4 days.