I don't know why the elements are not expanded, when I execute the command it gives this error
Uncaught TypeError: Cannot read properties of null (reading 'querySelectorAll')
*Now when I open the elements up to the specific span the command works * elements expanded imagem
const parentElement = document.querySelector('h2.prompt-text');
let allChildren = parentElement.querySelectorAll(":scope > span"); console.log(allChildren[0].innerText)
The captcha is rendered in the Iframe tag, You can get elements in Iframe with the below code: