Here is the element I am trying to click on for an automated program using Selenium:
<input id="btnNextWeek" title="Next Week" onclick="if (this.className != 'mybtndis2') { moveweek(7) }" type="button" value=">>" name="btnNextWeek" class="mybtn2" style="-webkit-appearance: button; padding-left: 8px; padding-right: 8px; height: auto">
Getting this error:
Message: no such element: Unable to locate element: {"method":"xpath","selector":"//input[@title="Next Week"]"} (Session info: chrome=83.0.4103.116)
This is the code that gives the error:
self.driver.find_element_by_xpath("//input[@title=\"Next Week\"]")\
.click()
Any suggestions?