I have to make my testing script visit a website that is protected with cloudflare, but I can't get past.
Needs to review the security of your connection before proceeding
Using:
- Browser : Firefox
- Code : Python with Selenium
Things which I have tried:
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.firefox.service import Service
profile=""
option = webdriver.FirefoxOptions()
option.binary_location = r'C:\Program Files\Mozilla Firefox\firefox.exe'
option.set_preference("dom.webdriver.enabled", False)
option.set_preference('useAutomationExtension', False)
browser = webdriver.Firefox(options=option)
browser.get('https://nowsecure.nl/')
But I always get "needs to review the security of your connection before proceeding."
References: How can I make a Selenium script undetectable using GeckoDriver and Firefox through Python?