Skip to content

startsWith / contains does not work for text when content has 'br' tag #202

Description

@geb-bot

Originally created by Fred Steger.

Attempting to find an element on a page using contains fails when the element contains a 'br' tag. startsWith will also fail here. The attachment here contains several working tests (including one that matches the entire text of the element with the 'br'), and three tests that I expected to pass but are failing.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions