Skip to content

trim whitespace for HTML locator #309

@cowboyd

Description

@cowboyd

The default HTML locator is innerText which is not very useful because it means that you get thousands of results for the base HTML interactor that are variations of " ", " \n", "\n \n\n" etc...

This is not useful. We can keep the text filter to be the raw inner text so that we can match against that and have it include whitespace (although still not sure how useful that is) but for the locator we should trim the inner text so that differences in whitespace do not disambiguate.

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