Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

187
Visualizações
Javascript: how to send keys to this specific input element?

I'm trying to do a little automation here: https://solanart.io/collections

At the top of the page, you can see an input element (type="text"): input element

That element is locatable by

document.querySelectorAll("input[type='text']").item(0)

Now, when the input element gets the focus, a list of possible results is shown, and with every keystroke, the list is updated: auto-updating list

To show the list, I've tried click(), focus() and dispatchEvent() with a MouseEvent "click". Nothing works.

To modify the input element contents, I've tried directly setting the element's value, and dispatchEvent() with a KeyboardEvent "keyup"/"keydown". Nothing works either.

Anybody knows how to make this element react to automation?

Thanks.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda