I'm using Selenium and PyCharm.
Website: https://www.expedia.com/
I'm trying to click()
on the Search
button.
I used these:
driver.find_element(By.ID, "search-button-hp-package").click()
driver.find_element_by_xpath("//*[@id='search-button-hp-package']").click()
driver.find_element_by_xpath("//button[@id='search-button-hp-package']").click()
I'm getting the following error:
selenium.common.exceptions.ElementNotInteractableException: Message: element not intractable
Can someone explain me why the element with the id='search-button-hp-package'
isn't intractable?
What I'm doing wrong?