Skip to content

Verify string regardless of case #849

Closed
@rubygeek

Description

@rubygeek

I have a two websites that I want to verify with the same code. Problem is one website the disclaim is in ALL CAPS and one is lowercase. Example

Use of this site constitutes acceptance of our

USE OF THIS SITE CONSTITUTES ACCEPTANCE OF OUR

So i propose the following api change:

Element Should Contain    locator, expected, message= 

to

Element Should Contain    locator, expected, case_sensitive=True, message=

Default of course being True to avoid breaking changes and when the developer wants case insensitive, they can pass case_sensitive=False

I am willing to make these changes and submit a PR if it might be approved.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions