I see Command
I.see
Assert that an text or element is visible
Ignores casing and white-spaces. This behavior is not configurable at the moment.
Usage
I.see(target)
Parameters
Parameter | Type | Remarks |
---|---|---|
target | string | Text or element to find |
Example(s)
I.see("Welcome back, Bruce");
Asserts that the text "Welcome back, Bruce" is seen on the page.
I.dontSee
Assert that an text or element is NOT visible
Ignores casing and white-spaces. This behavior is not configurable at the moment.
Usage
I.dontSee(target)
Parameters
Parameter | Type | Remarks |
---|---|---|
target | string | Text or element to find |