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

147
Visualizações
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 à 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