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

177
Views
Puppeteer code can click on an element but Chrome Dev Tools can't

Using Puppeteer I am able to find an element and click it:

var element = page.$$('SelectorPhrase');
element[0].click();

My code works and the element is found and clicked. Yet, on the Dev Tools (F12 on Chrome) I tried to find the same element and click it:

let e = document.querySelectorAll('SelectorPhrase')[0];
e.click();

The element is found via the dev tools, but is not actually clicked. After I call the click function I get a response of undefined.

Why the Puppeteer is able to click the element, and for the very same element the dev tool can't?

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!