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

102
Views
Puppeteer can't find selector inside table

I'm having an issue when trying to fill a search form that is embedded within a table. The selector is there, I can see it in the HTML.

I have tried using waitForSelector, but still get the error of 'No node found for selector: #gs_invoices.InvoiceNumber', or it will just time out because it cannot find it.

    await page.type("#Email", "-")
    await page.type("#Password", "-")
    await page.click("#btnSubmit")
    await page.click('[id^="InvoicesMenuLink"]')
    await page.click("div.show > a:nth-child(1)")

    await page.waitForSelector("#gs_invoices\.InvoiceNumber")
    await page.type("#gs_invoices\.InvoiceNumber", "123")

The only other thing I can think that might be preventing it from finding the selector is that it is nested inside of a table. I have not worked with a table before using Puppeteer. If there is something I am missing or something more that I need to do, please inform me.

Thank you

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!