diff --git a/seleniumbase/core/browser_launcher.py b/seleniumbase/core/browser_launcher.py index 87a58e0d..610f8350 100644 --- a/seleniumbase/core/browser_launcher.py +++ b/seleniumbase/core/browser_launcher.py @@ -308,14 +308,18 @@ def find_edgedriver_version_to_use(use_version, driver_version): def has_cf(text): if ( - "Just a moment..." in text - or "403 Forbidden" in text + "403 Forbidden" in text or "Permission Denied" in text or 'id="challenge-error-text"' in text + or "Just a moment..." in text or 'action="/?__cf_chl_f_tk' in text or 'src="chromedriver.js"' in text + or 'class="g-recaptcha"' in text + or 'content="Pixelscan"' in text or 'id="challenge-form"' in text or "window._cf_chl_opt" in text + or "/recaptcha/api.js" in text + or "/turnstile/" in text ): return True return False