From f66f5b800ea925662139e202470b35e4e3d29f3b Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Tue, 16 Jul 2024 16:11:20 +0200 Subject: [PATCH] docs: fix broken anchor links (#31707) --- docs/src/other-locators.md | 10 +--------- docs/src/release-notes-java.md | 2 +- docs/src/release-notes-js.md | 2 +- docs/src/release-notes-python.md | 2 +- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/docs/src/other-locators.md b/docs/src/other-locators.md index b42407231d..c7f6e234d1 100644 --- a/docs/src/other-locators.md +++ b/docs/src/other-locators.md @@ -881,7 +881,7 @@ await page.Locator("data-test-id=submit").ClickAsync(); ``` :::note -Attribute selectors are not CSS selectors, so anything CSS-specific like `:enabled` is not supported. For more features, use a proper [css] selector, e.g. `css=[data-test="login"]:enabled`. +Attribute selectors are not CSS selectors, so anything CSS-specific like `:enabled` is not supported. For more features, use a proper [css](#css-locator) selector, e.g. `css=[data-test="login"]:enabled`. ::: ## Chaining selectors @@ -918,11 +918,3 @@ We recommend [filtering by another locator](./locators.md#filter-by-childdescend By default, chained selectors resolve to an element queried by the last selector. A selector can be prefixed with `*` to capture elements that are queried by an intermediate selector. For example, `css=article >> text=Hello` captures the element with the text `Hello`, and `*css=article >> text=Hello` (note the `*`) captures the `article` element that contains some element with the text `Hello`. - - -[text]: #text-selector -[css]: #css-selector -[xpath]: #xpath-selectors -[react]: #react-selectors -[vue]: #vue-selectors -[id]: #id-data-testid-data-test-id-data-test-selectors diff --git a/docs/src/release-notes-java.md b/docs/src/release-notes-java.md index 6dce675b8f..54c4963216 100644 --- a/docs/src/release-notes-java.md +++ b/docs/src/release-notes-java.md @@ -1457,7 +1457,7 @@ This version of Playwright was also tested against the following stable channels #### New APIs -- [`browserType.launch()`](./api/class-browsertype#browsertypelaunchoptions) now accepts the new `'channel'` option. Read more in [our documentation](./browsers). +- [`method: BrowserType.launch`] now accepts the new `'channel'` option. Read more in [our documentation](./browsers). ## Version 1.9 diff --git a/docs/src/release-notes-js.md b/docs/src/release-notes-js.md index 18f07daa14..cd4ec8354e 100644 --- a/docs/src/release-notes-js.md +++ b/docs/src/release-notes-js.md @@ -2651,7 +2651,7 @@ This version of Playwright was also tested against the following stable channels #### New APIs -- [`browserType.launch()`](./api/class-browsertype#browsertypelaunchoptions) now accepts the new `'channel'` option. Read more in [our documentation](./browsers). +- [`method: BrowserType.launch`] now accepts the new `'channel'` option. Read more in [our documentation](./browsers). ## Version 1.9 diff --git a/docs/src/release-notes-python.md b/docs/src/release-notes-python.md index e7a4341a7e..25fbd3ef04 100644 --- a/docs/src/release-notes-python.md +++ b/docs/src/release-notes-python.md @@ -1433,7 +1433,7 @@ This version of Playwright was also tested against the following stable channels #### New APIs -- [`browserType.launch()`](./api/class-browsertype#browsertypelaunchoptions) now accepts the new `'channel'` option. Read more in [our documentation](./browsers). +- [`method: BrowserType.launch`] now accepts the new `'channel'` option. Read more in [our documentation](./browsers). ## Version 1.9