0

Is it possible to make selenium identify an html button attribute and click on it. So whenever it finds a button attribute it clicks on it automatically. Because I always have to predict around how long it takes for the next button to appear and set time.sleep() but many times it results in errors.

Abdalla Roda
  • 607
  • 1
  • 6
  • 13

1 Answers1

1

Of coarse it is possible to identify an html button through an attribute and invoke click() on it using Selenium.

But it won't be possible that, whenever a button is found through it's attribute, it can click on it automatically as:

undetected Selenium
  • 183,867
  • 41
  • 278
  • 352