Skip to content

Commit 70544f6

Browse files
committed
update documentation
1 parent 24d5641 commit 70544f6

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,18 @@ console.log(url[0]);
4848
- `selector`
4949
- Example: `await cas.assertVisibility(page, '#token')`
5050
* `assertInnerText`
51-
- Check that a certain text is present
51+
- Check that a certain text is present (with **equality** check)
5252
- Arguments
5353
- `page` element
5454
- `selector`
5555
- `value` to search for
5656
- Example: `await gunet.assertInnerText(page, '#content div h2', "Επιτυχής Σύνδεση");`
57+
* `assertInnerTextContains`
58+
- Check that a certain text is present in the selector
59+
- Arguments
60+
- `page` element
61+
- `selector`
62+
- `value` to search for
5763
* `assertTextInSource`
5864
- Check that a certain text is present in page source (for instance when handling text/json/xml pages)
5965
- Arguments
@@ -73,6 +79,11 @@ console.log(url[0]);
7379
- `selector`
7480
- `value` typed
7581
- Example: `await gunet.type(page, "#token",'999666');`
82+
* `submitForm`
83+
- Submit Form
84+
- Arguments
85+
- `page` element
86+
- `selector`
7687
#### CAS SSO functions
7788
* `loginWith`
7889
- Login with specific username and password

0 commit comments

Comments
 (0)