Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Screenshot image file not placed under screenshots folder #73

Open
fedika opened this issue Oct 29, 2017 · 3 comments
Open

Screenshot image file not placed under screenshots folder #73

fedika opened this issue Oct 29, 2017 · 3 comments
Assignees
Labels

Comments

@fedika
Copy link

fedika commented Oct 29, 2017

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 :)

@fedika fedika changed the title Screenshots image file not placed under screenshots folder Screenshot image file not placed under screenshots folder Oct 29, 2017
@nelsonic
Copy link
Member

@fergadipa what Operating System are you running...?

@fedika
Copy link
Author

fedika commented Nov 3, 2017

Windows 10 64bit

@nelsonic
Copy link
Member

nelsonic commented Nov 3, 2017

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:

const SCREENSHOT_PATH = "./node_modules/nightwatch/screenshots/" + PKG.version + "/";

The path on your Windows machine will be different, update it (to where you want to save the screenshots) and try running again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants