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

250
Views
File Upload in WebdriverIO where we need to access the file explorer in Windows

This is a field where either I have to access the file explorer in Windows and then select the file to upload or, I have to drag and drop the file to upload the file. I am using the following code in WebdriverIO, but the file upload in not happening.

 const fileUpload = $("//div[@id='customer_information']//div[@aria-hidden='true']");
 const path = require('path');
 const filePath = path.join(__dirname, '../../Test Data/Captute0.png');
 //const filePath = path.join(__dirname, 'F:\\WebDriverIO\\Capture.png');
 fileUpload.setValue(filePath);
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!