Skip to content

Commit

Permalink
Update testdriver.md (#11261)
Browse files Browse the repository at this point in the history
Fix link to list of special keys.
  • Loading branch information
Alice authored and gsnedders committed May 31, 2018
1 parent 730415d commit 219ed45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_writing-tests/testdriver.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Note that if the element that's keys need to be send to does not have
a unique ID, the document must not have any DOM mutations made
between the function being called and the promise settling.

To send special keys, one must send the respective key's codepoint. Since this uses the WebDriver protocol, you can find a list for code points to special keys in the spec (here)[https://w3c.github.io/webdriver/webdriver-spec.html#keyboard-actions].
To send special keys, one must send the respective key's codepoint. Since this uses the WebDriver protocol, you can find a [list for code points to special keys in the spec](https://w3c.github.io/webdriver/webdriver-spec.html#keyboard-actions).
For example, to send the tab key you would send "\uE004".

[testharness]: {{ site.baseurl }}{% link _writing-tests/testharness.md %}

0 comments on commit 219ed45

Please sign in to comment.