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

335
Views
¿Cómo puedo hacer clic en un botón específico con titiritero?

Quiero hacer clic en este botón a través del titiritero, pero no logro hacerlo.

Este es el elemento:

 <div class="wp-block-rh-contact-form-input is-form-type-submit"> <input class="input-field input-submit" type="submit" value="Jetzt absenden!"> </div>

Y este es mi intento de hacer clic en el botón de registro:

 const signup = await page.waitForXPath('//input[@type="submit"]') await signup[0].click()

El error que recibo es: "Error de tipo: no se puede leer la propiedad 'clic' de indefinido"

Espero que alguien pueda ayudarme porque no tengo idea de por qué sale indefinido porque parece que hice todo correctamente

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

0

¿Puedes probar con Xpath completo?

 const el = await page.$x('YOUR FULL XPATH'); await el[0].click();
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!