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

137
Vistas
Unable to programmatically click WhatsApp chat selector

I'm writing a Chrome extension that automatically loads the first chat from the sidebar of the web version of WhatsApp (web.whatsapp.com). Basically the extension waits for a few seconds for the page to load. Then, the script programmatically clicks the first chat item from the sidebar which should load the messages on the main message panel but it never does.

Here's what my snippet looks like:

// Get the sidebar element that holds the chat with the user
let item = document.querySelectorAll("div#pane-side div:first-child")[0];

// Simulate a click
item.click();
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