@@ -861,7 +861,7 @@ See [dontSeeInPageSource docs on codeception.com](http://codeception.com/docs/mo
861
861
862
862
Attribute|Type|Use|Description
863
863
---|---|---|---
864
- ` userInput ` |string|optional| Value for the form field .
864
+ ` html ` |string|optional| HTML code to be searched for within the page source. The value must be entity-encoded. See example .
865
865
` stepKey ` |string|required| A unique identifier of the action.
866
866
` skipReadiness ` |boolean|optional| A flag to skip the readiness check.
867
867
` before ` |string|optional| ` stepKey ` of action that must be executed next.
@@ -870,8 +870,8 @@ Attribute|Type|Use|Description
870
870
#### Example
871
871
872
872
``` xml
873
- <!-- Verify that the page source does not contain the string "Sample text" . -->
874
- <dontSeeInPageSource userInput =" Sample text " stepKey =" dontSeeInPageSource" />
873
+ <!-- Verify that the page source does not contain the raw source code `<h1 class="login-header">` . -->
874
+ <dontSeeInPageSource userInput =" < h1 class =" login-header "> " stepKey =" dontSeeInPageSource" />
875
875
```
876
876
877
877
### dontSeeInSource
@@ -880,7 +880,7 @@ See [dontSeeInSource docs on codeception.com](http://codeception.com/docs/module
880
880
881
881
Attribute|Type|Use|Description
882
882
---|---|---|---
883
- ` html ` |string|optional| HTML code to search for within the source code . The value must be entity-encoded. See example.
883
+ ` html ` |string|optional| HTML code to be searched for within the page source . The value must be entity-encoded. See example.
884
884
` stepKey ` |string|required| A unique identifier of the action.
885
885
` skipReadiness ` |boolean|optional| A flag to skip the readiness check.
886
886
` before ` |string|optional| ` stepKey ` of action that must be executed next.
@@ -891,7 +891,7 @@ Attribute|Type|Use|Description
891
891
You must encode the ` html ` using a tool such as [ CyberChef] ( https://gchq.github.io/CyberChef/#recipe=To_HTML_Entity(false,'Numeric%20entities') ) .
892
892
893
893
``` xml
894
- <!-- Verify that the page does not contain the raw source code `<h1 class="login-header">`. -->
894
+ <!-- Verify that the page source does not contain the raw source code `<h1 class="login-header">`. -->
895
895
<dontSeeInSource html =" < h1 class=" login-header"> " stepKey =" dontSeeInSource" />
896
896
```
897
897
@@ -1936,7 +1936,7 @@ See [seeInPageSource docs on codeception.com](http://codeception.com/docs/module
1936
1936
1937
1937
Attribute|Type|Use|Description
1938
1938
---|---|---|---
1939
- ` html ` |string|optional| HTML code to be searched for within the document . The value must be encoded. See example.
1939
+ ` html ` |string|optional| HTML code to be searched for within the page source . The value must be entity- encoded. See example.
1940
1940
` stepKey ` |string|required| A unique identifier of the action.
1941
1941
` skipReadiness ` |boolean|optional| A flag to skip the readiness check.
1942
1942
` before ` |string|optional| ` stepKey ` of action that must be executed next.
@@ -1987,7 +1987,7 @@ Attribute|Type|Use|Description
1987
1987
You must encode the ` html ` using a tool such as [ CyberChef] ( https://gchq.github.io/CyberChef/#recipe=To_HTML_Entity(false,'Numeric%20entities') ) .
1988
1988
1989
1989
``` xml
1990
- <!-- Verify that the page does contains the raw source code `<h1 class="login-header">`. -->
1990
+ <!-- Verify that the page source contains the raw source code `<h1 class="login-header">`. -->
1991
1991
<seeInSource html =" < h1 class=" login-header"> " stepKey =" seeInSource" />
1992
1992
```
1993
1993
0 commit comments