I am trying to access a site using selenium Python. But the site is checking and checking continuously by cloudflare. No other page is coming.
Check the screenshot here.
I have tried undetected chrome but it is not working at all.
By undetected chrome do you mean undetected chromedriver?:
Anyways, undetected-chromedriver works for me:
Github: https://github.com/ultrafunkamsterdam/undetected-chromedriver
pip install undetected-chromedriver
import undetected_chromedriver as uc
driver = uc.Chrome(use_subprocess=True)
driver.get('https://nowsecure.nl')
Github: https://github.com/xtekky/google-login-bypass
import undetected_chromedriver as uc
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
# ---------- EDIT ----------
email = 'email\n' # replace email
password = 'password\n' # replace password
# ---------- EDIT ----------
driver = uc.Chrome(use_subprocess=True)
wait = WebDriverWait(driver, 20)
url = 'https://accounts.google.com/ServiceLogin?service=accountsettings&continue=https://myaccount.google.com%3Futm_source%3Daccount-marketing-page%26utm_medium%3Dgo-to-account-button'
driver.get(url)
wait.until(EC.visibility_of_element_located((By.NAME, 'identifier'))).send_keys(email)
wait.until(EC.visibility_of_element_located((By.NAME, 'password'))).send_keys(password)
print("You're in!! enjoy")
# [ ---------- paste your code here ---------- ]