9

Can I use links in different site in setValue in file upload using nightwatch? I look up a link in stackoverflow and see this: File Upload Testing in Nightwatch.js but the answer said that it will not work if the file is coming from 'http://localhost:3000/testfile.txt'. Is this not possible?

Dranier
  • 311
  • 1
  • 5
  • 26

1 Answers1

0

The simple answer is no you can not specify the web server path.

You can read more about here.

What you can do is First download file and then use its absolutes or relative paths to upload.

Hardik Shah
  • 4,042
  • 2
  • 20
  • 41