Showing posts with label JQuery. Show all posts
Showing posts with label JQuery. Show all posts

Thursday, November 18, 2021

 

How to Click a button or links from browser console window by Using JQuery


var y = 0;
while( y < 2 ) 
    $x("//a[@class='wsmc-topmenu__breadcrumb-link--home']")[y].click();
    y = y + 1;
}

Result: 
Two times, the link or button will be clicked.

Try this solution and result is awesome.