Answer the question
In order to leave comments, you need to log in
Why do I SOMETIMES get an ElementNotInteractableException error?
Sometimes when I go to the site I get this error. Why is this happening in python selenium?
This is how I click the button:
WebDriverWait(driver, 15).until(EC.presence_of_element_located((By.CLASS_NAME, 'btn-next'))).click()
Answer the question
In order to leave comments, you need to log in
The problem is that Selenium can't detect the given element. Most likely you are not calling correctly + you have to wait, maybe not 15 seconds. Try it differently:
wait.until(EC.element_to_be_clickable(...
And do you have air conditioners added?
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question