I'm getting an unnecessary error in the program I'm trying to write with selenium.I wonder what the solution is that the code fragment I gave below works and gives the last error after it runs.
submit = browser.find_element_by_xpath( "/html/body/div[2]/div/form/div/input") submit.click()
Exception has occurred: NoSuchElementException
1.4m articles
1.4m replys
5 comments
56.9k users