seleniumbase / SeleniumBase

📊 Python's all-in-one framework for web crawling, scraping, testing, and reporting. Supports pytest. UC Mode provides stealth. Includes many tools.
https://seleniumbase.io
MIT License
5.33k stars 980 forks source link

SeleniumBase Freezing when initializing in debugger #3226

Closed TheHolsback closed 1 week ago

TheHolsback commented 1 week ago

I'm having a problem when initializing the Driver. When I run it through the vscode debugger, when I install the SeleniumBase library, it runs normally once. However, when I run it again through the debugger, it freezes when declaring the Driver (uc = True). Without the parameter, it runs normally. disclaimer: it runs normally if I run it without the debugger.

mdmintz commented 1 week ago

Could be an issue with the VSCode Debugger. (Would need to see a stack trace to possibly help.)

Use SeleniumBase's built-in pdbp debugger instead. Lots of ways to activate it: