News for hackers. Stuff that matters.
Re:SeleniumBase: Python APIs for web automation and bypassin... by bryanrasmussen on Wednesday December 18, 2024 @04:39AM (#42449194)
It seems weird to me that works - when I do scroll into views and similar behaviors in other code I do a random scroll speed to simulate human behavior, but SeleniumBase evidently doesn't.

Maybe I am just too paranoid.

Re:SeleniumBase: Python APIs for web automation and bypassin... by seleniumbase on Wednesday December 18, 2024 @07:37AM (#42449971)
SeleniumBase CDP Mode uses `DOM.scrollIntoViewIfNeeded` (https://chromedevtools.github.io/devtools-protocol/tot/DOM/#...), so it only scrolls when elements are offscreen, rather than always scrolling. This reduces the number of scrolls needed. Also, it seems that most anti-bot services are not looking at scrolling as a way of identifying users.