seleniumbase / SeleniumBase

📊 Blazing fast Python framework for web crawling, scraping, testing, and reporting. Supports pytest. Stealth abilities: UC Mode and CDP Mode.
https://seleniumbase.io
MIT License
5.44k stars 983 forks source link

SeleniumBase Freezing when initializing in debugger #3226

Closed TheHolsback closed 1 month ago

TheHolsback commented 1 month 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 month 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: