Skip to main content
Version: 0.18.1

withExactText

production

Filters for equal text.

Note: This should be only used in cases where the similarity comparison of {@link FluentFilters.withText()} allows not for a specific enough filtering (too many similar elements).

Examples:

'text' === withExactText('text') => true
'test' === withExactText('text') => false
'other' === withExactText('text') => false

await aui.moveMouseTo().text().withExactText('Basketball').exec()

  • @param {string} text - A text to be matched.