I am attempting to click a save button but Selenium (with Python) is having issues. I keep getting the error, “Message: no such element: Unable to locate element”
Here is the HTML
<input type=”submit” name=”action[save]” class=”FixedRight SPSubmitRequest button save-button disabledsubmit” value=”Save”>
And the XPath
//*[@id=”spsisFunctionJSAutoFormID12″]/table/tbody/tr/td[3]/input
I have attempted the following to no avail
driver.find_element_by_xpath(‘//*[@id=”spsisFunctionJSAutoFormID12″]/table/tbody/tr/td[3]/input’).click()
driver.find_element_by_class_name(‘FixedRight SPSubmitRequest button save-button disabledsubmit” value’).click()
driver.find_element_by_xpath(‘//button[@name=’Save’].click()
None of these work and all produce the same error
Source: Read More