Class: text

hobs.actions.assert. text

Checks if DOM Elements have (or not) specific text content


new text(selector, value [, isTrue] [, options])

Parameters:
Name Type Argument Default Description
selector String

jQuery selector for the DOM Elements to check

value String

the value of the text content

isTrue boolean <optional>
true

Checks if text content is as expected or not

options TestActionOptions <optional>

Test method options