question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add possiblity to set up screenshot directory

See original GitHub issue

There is a really handy keyword in a similar library (😉) which is Set Screenshot Directory. In BrowserLibrary it’s possible to set the path to the screenshot explicitly in path argument when using Take Screenshot keyword but when the screenshot is taken for failed test the keyword is run through the default import parameter run_on_failure which does not support providing directory. I would like to be able to set the directory for all the screenshots and by default they should land in ${OUTPUT DIR} in my opinion. Would be nice to have similar keyword like Set Screenshot Directory here also.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mnojekcommented, Apr 19, 2021

Thanks @mkorpela for the changes. They are definitely needed but I still see the lack of one useful feature. I would still like to have a way to set up a directory for screenshots globally, not only when taking screenshots explicitly. By default the import parameter run_on_failure takes Take Screenshot keyword, but I cannot edit the place where I want them to be put. That I would like to control.

0reactions
aaltatcommented, Jan 30, 2022

I guess we will close it, there has been enhancements on the area and need may not exist anymore. We can re-open this one or create new one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Change Where Screenshots Are Saved on Your Mac
Open a Finder window and press Shift-Command-N to create a new folder where you want your screenshots to be saved, and give the...
Read more >
How to Change Where Screenshots Are Saved on Mac
Go to the Utilities folder and open the Screenshot app. You can also open the Screenshot app by pressing Command + Shift +...
Read more >
How to Change Screenshot Save Location on Mac (in 2021)
How to Change Screenshot Save Location on MacSimple directions:1. Hold down Command/Shift/52. Click Options3. Select Other Location4.
Read more >
How to Send Mac Screenshots to a Specific Folder
First, make a folder to save your screenshots in; it can be located anywhere on your Mac. · Next, you'll need to open...
Read more >
Insert a screenshot or screen clipping - Microsoft Support
In PowerPoint: On the Insert tab, in the Images group, click Screenshot. Screenshot option in the Images group in PowerPoint. The Available Windows...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found