Clicking The “Unclickable” Button with Python, selenium, chromedriver

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Clicking The “Unclickable” Button with Python, selenium, chromedriver



I am running into trouble with a script trying to click a button with the following code in Python 3.7 using Selenium and Chromedriver:


driver.find_element_by_xpath("/html/body/section/main/section[1]/section[1]/div/div/div/form/div/div/div[1]/ul/li[2]/h2/button").submit()
search_cit = driver.find_element_by_xpath("/html/body/section/main/section[1]/section[1]/div/div/div/form/div/div/div[2]/div[3]/div/input")
search_cit.clear()
search_cit.send_keys(search_city)
driver.find_element_by_xpath("/html/body/section/main/section[1]/section[1]/div/div/div/form/div/div/div[2]/div[4]/button[1]").click()



and am met with the following error:enter image description here









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Arduino Mega cannot recieve any sketches, stk500_recv() programmer is not responding

Visual Studio Code: How to configure includePath for better IntelliSense results

C++ virtual function: Base class function is called instead of derived