You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@AlexPaiva Some people are still using it, so it's probably still valid, even though it hasn't been updated in awhile.
But at this point, selenium-stealth is mainly just for fingerprint-masking.
The part with avoiding selenium-detection is fully being done by seleniumbaseUC Mode.
Documenting the
selenium-stealth
integration with UC Mode(Info:
selenium-stealth
lets you mask your web browser's fingerprint and WebGL information.)Prerequisites:
selenium-stealth
must be installed separately:pip install selenium-stealth
Here's an example of the selenium-stealth integration with the
Driver()
manager and UC Mode:selenium-stealth
also integrates with SeleniumBaseBaseCase
formats:Use Syntax Format 2 to override the
setUp()
method so thatselenium-stealth
settings are used:Then have your test classes inherit
BaseTestCase
instead ofBaseCase
.(See SeleniumBase/help_docs/syntax_formats.md#sb_sf_02 for details.)
To activate UC Mode in
BaseCase
formats, use--uc
as apytest
command-line option:For general information about
selenium-stealth
, see:For general information about UC Mode, see #2213
The text was updated successfully, but these errors were encountered: