Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Set custom screenshot output path #101

Open
ryandberger opened this issue Oct 27, 2017 · 1 comment
Open

Set custom screenshot output path #101

ryandberger opened this issue Oct 27, 2017 · 1 comment

Comments

@ryandberger
Copy link

ryandberger commented Oct 27, 2017

I using this library through Magellan and I am having trouble setting the screenshot path to anything besides the default ./temp. In settings.js, it suggests passing--screenshots=path/to/temp/screenshot/directory, but that doesn't have any effect. I also tried using --screenshot_path=path/to/temp/screenshot/directory to match what the code appears to be looking for. Any suggestions?

I am calling my tests like this...

"./node_modules/.bin/magellan --local_browsers chrome --serial --screenshot_path "./test-data""

@archlichking
Copy link
Contributor

Thanks for reporting this bug. I've it identified here and will fix it soon. The logic for handling --screenshot_path is somehow missing in the plugin. For now the screenshot is saved in default ./temp folder .

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

No branches or pull requests

2 participants