Skip to content

Make the default file name for 'Capture Page Screenshot' more unique #268

@sdarshanam

Description

@sdarshanam

capture_page_screenshot keyword saves screenshot by suffixing index.

Can this be changed to use the current date time instead of index to make it more unique.

    if not filename:
        self._screenshot_index += 1
        filename = 'selenium-screenshot-%d.png' % self._screenshot_index

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions