зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1465687 [wpt PR 11261] - Update testdriver.md, a=testonly
Automatic update from web-platform-testsUpdate testdriver.md (#11261) Fix link to list of special keys. -- wpt-commits: 219ed4510789fff5d1efddced703bd0289348636 wpt-pr: 11261
This commit is contained in:
Родитель
bb91cab0a0
Коммит
7ef4a51436
|
@ -553903,7 +553903,7 @@
|
|||
"support"
|
||||
],
|
||||
"docs/_writing-tests/testdriver.md": [
|
||||
"2ffb3871fb13e6acd3171205bf80517dca06bcfe",
|
||||
"92538a06939f447ae351409886833494f42f36ec",
|
||||
"support"
|
||||
],
|
||||
"docs/_writing-tests/testharness-api.md": [
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Загрузка…
Ссылка в новой задаче