You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Codeception/Module/WebDriver.php
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -3149,22 +3149,22 @@ protected function matchFirstOrFail(WebDriverSearchContext $page, $selector): We
3149
3149
3150
3150
/**
3151
3151
* Presses the given key on the given element.
3152
-
* To specify a character and modifier (e.g. <kbd>Ctrl</kbd>, Alt, Shift, Meta), pass an array for `$char` with
3152
+
* To specify a character and modifier (e.g. <kbd>Ctrl</kbd>, <kbd>Alt</kbd>, <kbd>Shift</kbd>, <kbd>Meta</kbd>), pass an array for `$char` with
3153
3153
* the modifier as the first element and the character as the second.
3154
-
* For special keys, use the constants from [`Facebook\WebDriver\WebDriverKeys`](https://github.com/php-webdriver/php-webdriver/blob/main/lib/WebDriverKeys.php).
3154
+
* For special keys, use the constants from [Facebook\WebDriver\WebDriverKeys](https://github.com/php-webdriver/php-webdriver/blob/main/lib/WebDriverKeys.php).
3155
3155
*
3156
3156
* ``` php
3157
3157
* <?php
3158
3158
* // <input id="page" value="old">
3159
3159
* $I->pressKey('#page', 'a'); // => olda
3160
-
* $I->pressKey('#page', ['ctrl', 'a'],'new'); //=> new
0 commit comments