Screenshot image file not placed under screenshots folder
Opened this issue · 3 comments
fedika commented
Hi,
I'm newbie on NodeJS and Nightwatch.
I already followed your steps and it works but .png file not placed under screenshots folder, it is placed under root project folder.
Is there any suggestion?
Thank you :)
nelsonic commented
@fergadipa what Operating System are you running...?
fedika commented
Windows 10 64bit
nelsonic commented
Ok, this is a path
issue ... 🙄
In your nightwatch.conf.js
you will need to specific the full path to where you want to save the Screenshots. e.g:
learn-nightwatch/nightwatch.conf.js
Line 4 in e928312
The path on your Windows machine will be different, update it (to where you want to save the screenshots) and try running again.