Skip to main content
2 of 7
edited tags
Anupam Sahu
  • 49
  • 1
  • 2
  • 6

Selenium-java-How to click button by identify which button is enable out of 10 button and then click the first enable button

enter image description here

Hi ,

Currently -I am changing every time x-path to click on enable (Qualification check) button But, I want to click on First button which is in enable state. I have total of 10 button out of which some are enable and some are disable .So how can i first find the button which is enable and the click the same button in just one code.

Anupam Sahu
  • 49
  • 1
  • 2
  • 6