Skip to content

Commit 39dd19c

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 Differential Revision: https://phabricator.services.mozilla.com/D78794 UltraBlame original commit: 6572082b695a7a149a6a715b1cb26f9982ec394b
1 parent 0fddf30 commit 39dd19c

File tree

6 files changed

+9
-11
lines changed

6 files changed

+9
-11
lines changed

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,7 @@ <h3 aria-level="2" role="heading" id="h3_creating-automation-friendly-tests"><sp
214214
is to ensure that most tests are automatable (i.e. they're either
215215
reftests or use <code>testharness.js</code>). Even where manual tests
216216
are absolutely necessary they should be written so that they can be
217-
easily automated – as there are on-going efforts to make
218-
WebDriver [<cite><a class="bibref" href="#bib-webdriver">webdriver</a></cite>] automated tests a first class citizen in W3C
219-
testing. This means that even if a manual test requires user
217+
easily automated. This means that even if a manual test requires user
220218
interaction, the validation or PASS/FAIL conditions should still be
221219
clear enough as to allow automatic validation if said interaction is
222220
later automated.

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

+4-4
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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)