Skip to content

UC Mode intermittently timing out on Windows caused by os.waitpid(self.browser_pid, 0) #2289

@mdmintz

Description

@mdmintz

UC Mode intermittently timing out on Windows, due to os.waitpid(self.browser_pid, 0)

Screenshot 2023-11-15 at 5 46 59 PM

I was trying something out that I first saw in ultrafunkamsterdam/undetected-chromedriver#1391, and again in ultrafunkamsterdam/undetected-chromedriver#1655.

Here's how it looks:

Screenshot 2023-11-15 at 6 03 44 PM

Even with the try/except block, it started making Windows tests hang in GitHub Actions. However, it seems to be fine for POSIX systems (Linux/macOS). Definitely need to change that section so that Windows scripts never try to run it. The issue is intermittent, so it wouldn't be seen too easily.

Note that although there are tests in https://github.com/mdmintz/seleniumbase-examples/actions that use UC Mode, none of those tests are actually using it for avoiding detection. There was a separate repo for that (https://github.com/mdmintz/undetected-testing/actions) but that's not running at this moment due to IP Address checking leading to automation-detection.

Metadata

Metadata

Assignees

Labels

UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModebugUh oh... Something needs to be fixed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions