I am trying to a through . After inspecting the button element it highlights to the following:

Code Snippet

XPath:

/html/body/div/div/main/div/div[2]/div/div[2]/table/tbody/tr/td[4]/form/button

But, when I try to run the code, it doesn’t click the button.
Can anyone help me solve this? Would be a great help



Source link https://sqa.stackexchange.com/questions/35377/-to-click-button-using--webdriver-

LEAVE A REPLY

Please enter your comment!
Please enter your name here