File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -48,12 +48,18 @@ console.log(url[0]);
48
48
- ` selector `
49
49
- Example: ` await cas.assertVisibility(page, '#token') `
50
50
* ` assertInnerText `
51
- - Check that a certain text is present
51
+ - Check that a certain text is present (with ** equality ** check)
52
52
- Arguments
53
53
- ` page ` element
54
54
- ` selector `
55
55
- ` value ` to search for
56
56
- 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
57
63
* ` assertTextInSource `
58
64
- Check that a certain text is present in page source (for instance when handling text/json/xml pages)
59
65
- Arguments
@@ -73,6 +79,11 @@ console.log(url[0]);
73
79
- ` selector `
74
80
- ` value ` typed
75
81
- Example: ` await gunet.type(page, "#token",'999666'); `
82
+ * ` submitForm `
83
+ - Submit Form
84
+ - Arguments
85
+ - ` page ` element
86
+ - ` selector `
76
87
#### CAS SSO functions
77
88
* ` loginWith `
78
89
- Login with specific username and password
You can’t perform that action at this time.
0 commit comments