Get the latest tech news
SeleniumBase: Python APIs for web automation and bypassing bot-detection
Python APIs for web automation, testing, and bypassing bot-detection. - seleniumbase/SeleniumBase
If a test is moving too fast for your eyes, run it in Demo Mode to pause the browser briefly between actions, highlight page elements being acted on, and display assertions: 🔵 To pause an active test that throws an exception or error, ( and keep the browser window open while Debug Mode begins in the console), add--pdb as a pytest option: If you need to use jQuery or another JS library on those websites, add--disable-csp as a pytest command-line option to load a Chromium extension that bypasses the CSP.
Or read this on Hacker News