python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to access the html nested within multiple shadowRoot using Selenium and Python
I am trying to build a bot to solve Wordle puzzles on the website (https://www.powerlanguage.co.uk/wordle/)
I am using selenium to enter a guess then attempting to inspect the page to see which guesse...
amc-man
Votes: 0
Answers: 2
How to prevent Uncaught DOMException when checking selector in document.querySelector
in JavaScript I have code like:
var text = '[0-9]';
if (document.querySelector(text) !== null) {
alert('fail');
}
When I run it, there is an error:
Uncaught DOMException: Failed to execute 'querySel...
Jiří Poláček
Votes: 0
Answers: 1
How to dynamically create variable with loop?
How to re-write this code with loop?
var einput1 = document.querySelector("#email0").value;
var einput2 = document.querySelector("#email1").value;
var einput3 = document.querySelec...

Almighty
Votes: 0
Answers: 2
Trying to toggle a form using querySelector and it just isn't budging
I was trying to toggle a modal for my register and login tabs on a website I'm working on, but the final part turning it from hidden to visible on the website I was using a little javascript to add an...
bubbs
Votes: 0
Answers: 1