trying to click a input type using selenium python, input type calls image file, and added css cursor: pointer on the image, unfortunately cant click the image or the input
Image
Code
<input type="image" src="/images/btn_next.png">
CSS
input[type="image" i]
{
cursor: pointer;
}
how to click on the image "Next Step" ?
I tried, but shows error
driver.find_element_by_xpath('//input[@type="image"][@src="/images/btn_next.png"]').click()