Skip to content

Commit a2c6ec5

Browse files
authored
Merge pull request #117 from ThomasLandauer/patch-1
Removing self-closing slashes
2 parents f770139 + 77c9233 commit a2c6ec5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Codeception/Module/WebDriver.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2348,17 +2348,17 @@ protected function getSubmissionFormFieldName(string $name): string
23482348
* ``` html
23492349
* <form action="/sign_up">
23502350
* Login:
2351-
* <input type="text" name="user[login]" /><br/>
2351+
* <input type="text" name="user[login]"><br>
23522352
* Password:
2353-
* <input type="password" name="user[password]" /><br/>
2353+
* <input type="password" name="user[password]"><br>
23542354
* Do you agree to our terms?
2355-
* <input type="checkbox" name="user[agree]" /><br/>
2355+
* <input type="checkbox" name="user[agree]"><br>
23562356
* Select pricing plan:
23572357
* <select name="plan">
23582358
* <option value="1">Free</option>
23592359
* <option value="2" selected="selected">Paid</option>
23602360
* </select>
2361-
* <input type="submit" name="submitButton" value="Submit" />
2361+
* <input type="submit" name="submitButton" value="Submit">
23622362
* </form>
23632363
* ```
23642364
*
@@ -2458,7 +2458,7 @@ protected function getSubmissionFormFieldName(string $name): string
24582458
* For example, given the following HTML:
24592459
*
24602460
* ``` html
2461-
* <input type="submit" name="submitButton" value="Submit" />
2461+
* <input type="submit" name="submitButton" value="Submit">
24622462
* ```
24632463
*
24642464
* `$button` could be any one of the following:
@@ -3153,7 +3153,7 @@ protected function matchFirstOrFail(WebDriverSearchContext $page, $selector): We
31533153
*
31543154
* ``` php
31553155
* <?php
3156-
* // <input id="page" value="old" />
3156+
* // <input id="page" value="old">
31573157
* $I->pressKey('#page', 'a'); // => olda
31583158
* $I->pressKey('#page', ['ctrl', 'a'],'new'); //=> new
31593159
* $I->pressKey('#page', ['shift', '111'],'1','x'); //=> old!!!1x

0 commit comments

Comments
 (0)