Skip to content

Commit deaa714

Browse files
cpAdmmxschmitt
andauthored
docs: Update outdated links & broken anchors (#35181)
Signed-off-by: Max Schmitt <[email protected]> Co-authored-by: Max Schmitt <[email protected]>
1 parent cc4045e commit deaa714

File tree

16 files changed

+28
-28
lines changed

16 files changed

+28
-28
lines changed

docs/src/accessibility-testing-java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ AxeResults accessibilityScanResults = new AxeBuilder(page)
107107
assertEquals(Collections.emptyList(), accessibilityScanResults.getViolations());
108108
```
109109

110-
You can find a complete listing of the rule tags axe-core supports in [the "Axe-core Tags" section of the axe API documentation](https://www.deque.com/axe/core-documentation/api-documentation/#axe-core-tags).
110+
You can find a complete listing of the rule tags axe-core supports in [the "Axe-core Tags" section of the axe API documentation](https://www.deque.com/axe/core-documentation/api-documentation/#axecore-tags).
111111

112112
## Handling known issues
113113

docs/src/accessibility-testing-js.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ test('should not have any automatically detectable WCAG A or AA violations', asy
113113
});
114114
```
115115

116-
You can find a complete listing of the rule tags axe-core supports in [the "Axe-core Tags" section of the axe API documentation](https://www.deque.com/axe/core-documentation/api-documentation/#axe-core-tags).
116+
You can find a complete listing of the rule tags axe-core supports in [the "Axe-core Tags" section of the axe API documentation](https://www.deque.com/axe/core-documentation/api-documentation/#axecore-tags).
117117

118118
## Handling known issues
119119

docs/src/api-testing-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def test_should_create_feature_request(api_request_context: APIRequestContext) -
114114

115115
### Setup and teardown
116116

117-
These tests assume that repository exists. You probably want to create a new one before running tests and delete it afterwards. Use a [session fixture](https://docs.pytest.org/en/stable/fixture.html#fixture-scopes) for that. The part before `yield` is the before all and after is the after all.
117+
These tests assume that repository exists. You probably want to create a new one before running tests and delete it afterwards. Use a [session fixture](https://docs.pytest.org/en/stable/how-to/fixtures.html#fixture-scopes) for that. The part before `yield` is the before all and after is the after all.
118118

119119
```python
120120
# ...

docs/src/api/class-accessibility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ assistive technologies themselves. By default, Playwright tries to approximate t
2222
* deprecated: This method is deprecated. Please use other libraries such as [Axe](https://www.deque.com/axe/) if you need to test page accessibility. See our Node.js [guide](https://playwright.dev/docs/accessibility-testing) for integration with Axe.
2323

2424
- returns: <[null]|[Object]>
25-
- `role` <[string]> The [role](https://www.w3.org/TR/wai-aria/#usage_intro).
25+
- `role` <[string]> The [role](https://www.w3.org/TR/wai-aria/#usage).
2626
- `name` <[string]> A human readable name for the node.
2727
- `value` <[string]|[float]> The current value of the node, if applicable.
2828
- `description` <[string]> An additional human readable description of the node, if applicable.

docs/src/api/class-browsertype.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ this context will automatically close the browser.
326326

327327
Path to a User Data Directory, which stores browser session data like cookies and local storage. More details for
328328
[Chromium](https://chromium.googlesource.com/chromium/src/+/master/docs/user_data_dir.md#introduction) and
329-
[Firefox](https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options#User_Profile).
329+
[Firefox](https://wiki.mozilla.org/Firefox/CommandLineOptions#User_profile).
330330
Note that Chromium's user data directory is the **parent** directory of the "Profile Path" seen at `chrome://version`. Pass an empty string to
331331
use a temporary directory instead.
332332

docs/src/api/params.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ Close the browser process on SIGHUP. Defaults to `true`.
10611061

10621062
Whether to run browser in headless mode. More details for
10631063
[Chromium](https://developers.google.com/web/updates/2017/04/headless-chrome) and
1064-
[Firefox](https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Headless_mode). Defaults to `true` unless the
1064+
[Firefox](https://hacks.mozilla.org/2017/12/using-headless-mode-in-firefox/). Defaults to `true` unless the
10651065
[`option: BrowserType.launch.devtools`] option is `true`.
10661066

10671067
## js-python-browser-option-firefoxuserprefs

docs/src/aria-snapshots.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Each accessible element in the tree is represented as a YAML node:
149149
as `checked`, `disabled`, `expanded`, `level`, `pressed`, or `selected`.
150150

151151
These values are derived from ARIA attributes or calculated based on HTML semantics. To inspect the accessibility tree
152-
structure of a page, use the [Chrome DevTools Accessibility Pane](https://developer.chrome.com/docs/devtools/accessibility/reference#pane).
152+
structure of a page, use the [Chrome DevTools Accessibility Tab](https://developer.chrome.com/docs/devtools/accessibility/reference#tab).
153153

154154

155155
## Snapshot matching

docs/src/browsers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ with sync_playwright() as p:
520520
# Channel can be "chrome", "msedge", "chrome-beta", "msedge-beta" or "msedge-dev".
521521
browser = p.chromium.launch(channel="msedge")
522522
page = browser.new_page()
523-
page.goto("http://playwright.dev")
523+
page.goto("https://playwright.dev")
524524
print(page.title())
525525
browser.close()
526526
```

docs/src/ci-intro.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ Downloading the HTML report as a zip file is not very convenient. However, we ca
291291
- `AZCOPY_SPA_CLIENT_SECRET`
292292
- `AZCOPY_TENANT_ID`
293293

294-
For a detailed guide on how to authorize a service principal using a client secret, refer to [this Microsoft documentation](https://learn.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-authorize-azure-active-directory#authorize-a-service-principal-by-using-a-client-secret-1).
294+
For a detailed guide on how to authorize a service principal using a client secret, refer to [this Microsoft documentation](https://learn.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-authorize-azure-active-directory#authorize-a-service-principal-by-using-a-client-secret).
295295
1. Add a step that uploads the HTML report to Azure Storage.
296296

297297
```yaml title=".github/workflows/playwright.yml"
@@ -312,7 +312,7 @@ Downloading the HTML report as a zip file is not very convenient. However, we ca
312312
The contents of the `$web` storage container can be accessed from a browser by using the [public URL](https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blob-static-website-how-to?tabs=azure-portal#portal-find-url) of the website.
313313

314314
:::note
315-
This step will not work for pull requests created from a forked repository because such workflow [doesn't have access to the secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets#using-encrypted-secrets-in-a-workflow).
315+
This step will not work for pull requests created from a forked repository because such workflow [doesn't have access to the secrets](https://docs.github.com/en/actions/security-for-github-actions/security-guides/using-secrets-in-github-actions#using-secrets-in-a-workflow).
316316
:::
317317

318318

docs/src/intro-java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class App {
3232
try (Playwright playwright = Playwright.create()) {
3333
Browser browser = playwright.chromium().launch();
3434
Page page = browser.newPage();
35-
page.navigate("http://playwright.dev");
35+
page.navigate("https://playwright.dev");
3636
System.out.println(page.title());
3737
}
3838
}

0 commit comments

Comments
 (0)