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
Bug 1642627 [wpt PR 23911] - [webdriver] normalize and fix links to the WebDriver spec, a=testonly
Automatic update from web-platform-tests
[webdriver] normalize and fix links to the WebDriver spec (#23911)
Spotted while looking for incoming links to the spec:
w3c/webdriver#1462 (comment)
(#dfn-set-window-rect changed to #set-window-rect for consistency, not
to enable the ID to be changed.)
--
wpt-commits: 5d0dcf0142d07916584db9c76c2fdec02833e959
wpt-pr: 23911
Differential Revision: https://phabricator.services.mozilla.com/D78794
UltraBlame original commit: 6572082b695a7a149a6a715b1cb26f9982ec394b
Copy file name to clipboardExpand all lines: testing/web-platform/tests/docs/writing-tests/testdriver-extension-tutorial.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ We assume the following in this writeup:
9
9
10
10
## Introduction!
11
11
12
-
Let's implement window resizing. We can do this via the [Set Window Rect](https://w3c.github.io/webdriver/webdriver-spec.html#dfn-set-window-rect) command in WebDriver.
12
+
Let's implement window resizing. We can do this via the [Set Window Rect](https://w3c.github.io/webdriver/#set-window-rect) command in WebDriver.
13
13
14
14
First, we need to think of what the API will look like a little. We will be using WebDriver and Marionette for this, so we can look and see that they take in x, y coordinates, width and height integers.
15
15
@@ -30,7 +30,7 @@ window.test_driver = {
30
30
* Triggers browser window to be resized and relocated
The WebDriver command will return a [WindowRect object](https://www.w3.org/TR/webdriver1/#dfn-window-rect), which is a dictionary with keys `x`, `y`, `width`, and `height`.
328
+
The WebDriver command will return a [WindowRect object](https://w3c.github.io/webdriver/#dfn-window-rect), which is a dictionary with keys `x`, `y`, `width`, and `height`.
Copy file name to clipboardExpand all lines: testing/web-platform/tests/docs/writing-tests/testdriver.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -124,7 +124,7 @@ Note that if the element that the keys need to be sent to does not have
124
124
a unique ID, the document must not have any DOM mutations made
125
125
between the function being called and the promise settling.
126
126
127
-
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).
127
+
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/#keyboard-actions).
128
128
For example, to send the tab key you would send "\uE004".
0 commit comments