Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

186
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda