Skip to content

Is it possible to disable Capture Page Screenshot on failure? #59

Description

@immitev

I have been trying to disable running Capture Page Screenshot on failure (mainly because in some scenarios taking screenshots fails and the actual error becomes harder to see), but I can't find out how to do it. Any time a new Page object is initiated, I see in the log "Capture Page Screenshot will be run on failure.". I guess that another instance of the S2L gets loaded and it can't be just globally disabled with BuiltIn().get_library_instance('Selenium2Library').register_keyword_to_run_on_failure = None

Any ideas how to approach this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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