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
[webdriver] normalize and fix links to the WebDriver spec
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.)
Copy file name to clipboardExpand all lines: docs/writing-tests/testdriver-extension-tutorial.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
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: docs/writing-tests/testdriver.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
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