ai-to-ai / Auto-Gmail-Creator

Open Source Bulk Auto Gmail Creator Bot with Selenium & Seleniumwire ( Python ). Feel free to contact me with Django/Flask, ML, AI, GPT, Automation, Scraping.
https://gptlawyer.pro
538 stars 283 forks source link

WebDriverWait Throwing TimeoutException #49

Open supportremovedigital opened 3 months ago

supportremovedigital commented 3 months ago

I keep receiving TimeoutException whenever I call WebDriverWait and wait for it to finish. I already adjusted the WAIT variable to about 2minutes and still the same error

I use Chrome Driver and have my own bought proxies.

for selector in SELECTORS['next']: print("Click Next Button "+selector) time.sleep(WAIT) try: create_input = WebDriverWait(driver, WAIT).until(EC.element_to_be_clickable((By.XPATH, selector))) time.sleep(WAIT) create_input.click() break except Exception as e: print(type(e).__name__) pass