Skip to content

Commit 8cca4ae

Browse files
committed
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 UltraBlame original commit: 4ea9d35d56d9cba2e0711df3986b340168bed03c
1 parent 91a3177 commit 8cca4ae

File tree

6 files changed

+1827
-8
lines changed

6 files changed

+1827
-8
lines changed

testing/web-platform/tests/css/compositing/test-plan/test-plan.html

Lines changed: 1819 additions & 0 deletions
Large diffs are not rendered by default.

testing/web-platform/tests/docs/writing-tests/testdriver-extension-tutorial.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ We assume the following in this writeup:
99

1010
## Introduction!
1111

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.
1313

1414
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.
1515

@@ -30,7 +30,7 @@ window.test_driver = {
3030
* Triggers browser window to be resized and relocated
3131
*
3232
* This matches the behaviour of the {@link
33-
* https://w3c.github.io/webdriver/webdriver-spec.html#dfn-set-window-rect|WebDriver
33+
* https://w3c.github.io/webdriver/#set-window-rect|WebDriver
3434
* Set Window Rect command}.
3535
*
3636
* @param {Integer} x - The x coordinate of the top left of the window
@@ -56,7 +56,7 @@ window.test_driver_internal = {
5656
* Triggers browser window to be resized and relocated
5757
*
5858
* This matches the behaviour of the {@link
59-
* https://w3c.github.io/webdriver/webdriver-spec.html#dfn-set-window-rect|WebDriver
59+
* https://w3c.github.io/webdriver/#set-window-rect|WebDriver
6060
* Set Window Rect command}.
6161
*
6262
* @param {Integer} x - The x coordinate of the top left of the window
@@ -325,7 +325,7 @@ class GetWindowRectAction(object):
325325
return self.protocol.get_window_rect.get_window_rect()
326326
```
327327
328-
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`.
329329
```python
330330
class WebDriverGetWindowRectProtocolPart(GetWindowRectProtocolPart):
331331
def get_window_rect(self):

testing/web-platform/tests/docs/writing-tests/testdriver.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Note that if the element that the keys need to be sent to does not have
124124
a unique ID, the document must not have any DOM mutations made
125125
between the function being called and the promise settling.
126126

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).
128128
For example, to send the tab key you would send "\uE004".
129129

130130
[activation]: https://html.spec.whatwg.org/multipage/interaction.html#activation

testing/web-platform/tests/tools/webdriver/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# WebDriver client for Python
22

33
This package provides Python bindings
4-
that conform to the [W3C WebDriver standard](https://w3c.github.io/webdriver/webdriver-spec.html),
4+
that conform to the [W3C WebDriver standard](https://w3c.github.io/webdriver/),
55
which specifies a remote control protocol for web browsers.
66

77
These bindings are written with determining

testing/web-platform/tests/webdriver/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Herein lies a set of conformance tests
44
for the W3C web browser automation specification
5-
known as [WebDriver](http://w3c.github.io/webdriver/webdriver-spec.html).
5+
known as [WebDriver](http://w3c.github.io/webdriver/).
66
The purpose of these tests is determine implementation compliance
77
so that different driver implementations can determine
88
whether they meet the recognized standard.

testing/web-platform/tests/webdriver/tests/perform_actions/support/keys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Keys(object):
2626
"""
2727
Set of special keys codes.
2828
29-
See also https://w3c.github.io/webdriver/#h-keyboard-actions
29+
See also https://w3c.github.io/webdriver/#keyboard-actions
3030
"""
3131

3232
NULL = u"\ue000"

0 commit comments

Comments
 (0)