Skip to content

Ability to set default log level for Page Should Contain keywords #1199

@joaonc

Description

@joaonc

All the Page Should Contain keywords (and Frame Should Contain, etc.) have a default loglevel of INFO.

This causes the logs at INFO level to be huge, especially if you use the Wait Until variants, which log the whole html each time it's checked.

That means that:

  1. I live with 5+ MB logs per test case fail (imagine when several tests fail)
    or
  2. Have to explicitly set the loglevel argument each time these keywords are used.

Another option would be to extend SeleniumLibrary and change that default, but I would really like to get away from that.

The request is to add the ability to set the loglevel for this family of keywords.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions