hi all
thanks for reading my question.
I tried to automate some of my work.
I tried to get the path of Add button using xpath finder
I found three links below. I tried to click on the add button but its not working.
The curser is in the first name box.
Below my code is there.
Please help me to click the Add button.
#driver.find_element(By.XPATH,"//div[@class='content col-center']/..//input[@name='Add']]").click()
driver.find_element(By.XPATH,"//body/div[@id='contWrapper']/div[@id='ContContent']/div[@id='pageContent']/form[@id='viewAllSales']/div[@class='container']/div[@class='content col-center']/div[5]/..//input[@name='Add']").click()
#driver.find_element(By.XPATH,"(//input[@name='Add'])[1]").click()
driver.implicitly_wait(60)
Source: Read More