Skip to content

Override default directory for (or pass dir to) take_screenshot/1 #196

Open
@marcdel

Description

@marcdel

It would be nice to have a little more control over where screenshots get written. There are two options I'd like to have (either or both would be great):

  1. Set a default directory location in the config
  2. Pass a directory to take_screenshot/1

Both of these would ideally retain the existing name generation feature screenshot-#{year}-#{month}-#{day}-#{hour}-#{minutes}-#{seconds}.png.

I'm happy to submit a PR if this is something you're interested in. Option 2 I could do fairly easily, option 1 I'd need to poke around the code base a bit more first. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions