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

459
Views
Puppeteer Error: No Node Found for selector

I am trying to click on an input element through Puppeteer after going to the URL I requested I input a quantity by using

await page.type('#bidamount_temp', bidAmount);

Puppeteer is not complaining about this error: However after inputting a value into the field; i want the puppeteer to click on this button:

<input type="submit" value="Place Bid " class="buttonspb" style="font-size:15px; margin-top:-2px;" onclick="return url_check();">

So I use this in my node.js code:

await Promise.all([
  page.click('input[value="Place Bid "]'),
  page.waitForNavigation({ waitUntil: 'networkidle0' }),
]);

However it is giving me an error of :

Error: Error: No node found for selector: input[value="Place Bid"]

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You can see in the error message that it strips the space from button value: you have "Place Bid ", puppeteer converts it into "Place Bid". You should use another selector to access the button, for example input[type="submit"].buttonspb

about 4 years ago · Juan Pablo Isaza Report
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!