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

96
Vistas
Playwright redirects instead of opening accordion

I'm trying to automate the google login process for an app that's not yet verified hence I'm trying to click on the following link:

enter image description here

Which opens the accordion so:

enter image description here

I'm doing:

await popup.click('[jsname="BO4nrb"]');

Google's html is:

<a href="#" jsname="BO4nrb" class="xTI6Gf vh6Iad">Advanced</a>

Unlike the native browser behaviour when I run the tests (with --headed) the accordion doesn't open but instead I'm redirected to https://accounts.google.com/#.

For some reason google's onclick javascript is not firing when simulated by playwright and I'm being redirected to #

I don't really care to simulate this properly since this is a temporary situation so any hacky solution will also do.

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