I am currently learning some Automation.
I just wanted to know how to we write a for
loop for a button in the webpage with the help of browser console.
document.querySelector('.glyphsSpriteCircle_add__outline__24__grey_9').click()
I need to this button to clicked until the button element is present.
Appreciate your help.