I'm very new on web developing. I want to ask on how Can I automatically Click the second href, that contains the word "login"
This is the code that I tried
document.querySelector('a[href*="/a/login.php?"]')[2].click();
Aucun commentaire:
Enregistrer un commentaire