Posts by lololololo • 21 points
5 posts
-
0
votes3
answers164
viewsQ: I can’t find the button with the querySelector
Hi, I’m trying to find a button by Document.querySelector but I’m not getting it. I tried looking for it with the command: document.querySelector("button.tabindex[class='btn btn-inverse btn-large…
-
0
votes1
answer609
viewsQ: I need to make an auto click on a class button (HELP)
I need to perform an auto click on this button: <button tabindex="-1" class="btn btn-inverse btn-large"> Botao1 </button> However there are several similar classes, I have tried using…
-
-1
votes1
answer49
viewsQ: I need help defining an IF command
Sometimes when rooting a page I use an error alert appears in the first option, so I have to click on option 2, so I would like to set an IF command,so that when the error alert appears, the script…
-
0
votes2
answers27
viewsA: I need to make an automated selection
It worked, thank you very much !! //Elementos const select = document.querySelector('select'); const options = document.querySelectorAll('option'); //Cria um número randômico entre 0 e 1…
-
0
votes2
answers27
viewsQ: I need to make an automated selection
Hello, I would like help to execute an automatic selection command on this: <select tabindex="-1" class="select-large"><option value="-">[Escolha...]</option> <option…