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

109
Views
Webdriver io - Obtención No se pueden leer las propiedades de undefined (leyendo 'clic')

Obteniendo No se pueden leer las propiedades de undefined (leyendo 'clic')

 it('Checkbox', async () => { browser.url('https://rahulshettyacademy.com/AutomationPractice/') const element = await $$("input[type='checkbox']") browser.pause(3000) await element[1].click() console.log(await element[1].isSelected()) browser.saveScreenshot('screenshot.png') })
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Este error le dice que no es posible leer el elemento .click en el element[1] porque no hay nada en el element[1] ; es nulo porque no hay un segundo elemento en esa matriz. Si no está seguro de la estructura dentro del element , puede hacer console.log(element) o console.log(JSON.stringify(element)) .

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!