Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

100
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!