Skip to content

Commit 0aae617

Browse files
Docs: Adding link to WebDriverKeys
* Update WebDriver.php Adding link to WebDriverKeys * Update WebDriver.php Is HTML allowed here? => Trying with `<kbd>`...
1 parent 1a22cc1 commit 0aae617

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Codeception/Module/WebDriver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2935,9 +2935,9 @@ protected function matchFirstOrFail($page, $selector)
29352935

29362936
/**
29372937
* Presses the given key on the given element.
2938-
* To specify a character and modifier (e.g. ctrl, alt, shift, meta), pass an array for $char with
2938+
* To specify a character and modifier (e.g. <kbd>Ctrl</kbd>, Alt, Shift, Meta), pass an array for `$char` with
29392939
* the modifier as the first element and the character as the second.
2940-
* For special keys use key constants from WebDriverKeys class.
2940+
* For special keys, use the constants from [`Facebook\WebDriver\WebDriverKeys`](https://github.com/php-webdriver/php-webdriver/blob/main/lib/WebDriverKeys.php).
29412941
*
29422942
* ``` php
29432943
* <?php

0 commit comments

Comments
 (0)