Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/Codeception/Module/WebDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -2348,17 +2348,17 @@ protected function getSubmissionFormFieldName(string $name): string
* ``` html
* <form action="/sign_up">
* Login:
* <input type="text" name="user[login]" /><br/>
* <input type="text" name="user[login]"><br>
* Password:
* <input type="password" name="user[password]" /><br/>
* <input type="password" name="user[password]"><br>
* Do you agree to our terms?
* <input type="checkbox" name="user[agree]" /><br/>
* <input type="checkbox" name="user[agree]"><br>
* Select pricing plan:
* <select name="plan">
* <option value="1">Free</option>
* <option value="2" selected="selected">Paid</option>
* </select>
* <input type="submit" name="submitButton" value="Submit" />
* <input type="submit" name="submitButton" value="Submit">
* </form>
* ```
*
Expand Down Expand Up @@ -2458,7 +2458,7 @@ protected function getSubmissionFormFieldName(string $name): string
* For example, given the following HTML:
*
* ``` html
* <input type="submit" name="submitButton" value="Submit" />
* <input type="submit" name="submitButton" value="Submit">
* ```
*
* `$button` could be any one of the following:
Expand Down Expand Up @@ -3153,7 +3153,7 @@ protected function matchFirstOrFail(WebDriverSearchContext $page, $selector): We
*
* ``` php
* <?php
* // <input id="page" value="old" />
* // <input id="page" value="old">
* $I->pressKey('#page', 'a'); // => olda
* $I->pressKey('#page', ['ctrl', 'a'],'new'); //=> new
* $I->pressKey('#page', ['shift', '111'],'1','x'); //=> old!!!1x
Expand Down