Skip to content

Commit 384b710

Browse files
alvaromartmartpavelfeldman
authored andcommitted
cherry-pick(#17942): docs(release-notes): add missing reference to Page.getByTestId in 1.27 release notes
1 parent df7906d commit 384b710

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

docs/src/release-notes-csharp.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ With these new APIs writing locators is a joy:
1212
- [`method: Page.getByText`] to locate by text content.
1313
- [`method: Page.getByRole`] to locate by [ARIA role](https://www.w3.org/TR/wai-aria-1.2/#roles), [ARIA attributes](https://www.w3.org/TR/wai-aria-1.2/#aria-attributes) and [accessible name](https://w3c.github.io/accname/#dfn-accessible-name).
1414
- [`method: Page.getByLabel`] to locate a form control by associated label's text.
15+
- [`method: Page.getByTestId`] to locate an element based on its `data-testid` attribute (other attribute can be configured).
1516
- [`method: Page.getByPlaceholder`] to locate an input by placeholder.
1617
- [`method: Page.getByAltText`] to locate an element, usually image, by its text alternative.
1718
- [`method: Page.getByTitle`] to locate an element by its title.

docs/src/release-notes-java.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ With these new APIs writing locators is a joy:
1212
- [`method: Page.getByText`] to locate by text content.
1313
- [`method: Page.getByRole`] to locate by [ARIA role](https://www.w3.org/TR/wai-aria-1.2/#roles), [ARIA attributes](https://www.w3.org/TR/wai-aria-1.2/#aria-attributes) and [accessible name](https://w3c.github.io/accname/#dfn-accessible-name).
1414
- [`method: Page.getByLabel`] to locate a form control by associated label's text.
15+
- [`method: Page.getByTestId`] to locate an element based on its `data-testid` attribute (other attribute can be configured).
1516
- [`method: Page.getByPlaceholder`] to locate an input by placeholder.
1617
- [`method: Page.getByAltText`] to locate an element, usually image, by its text alternative.
1718
- [`method: Page.getByTitle`] to locate an element by its title.

docs/src/release-notes-js.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ With these new APIs writing locators is a joy:
1212
- [`method: Page.getByText`] to locate by text content.
1313
- [`method: Page.getByRole`] to locate by [ARIA role](https://www.w3.org/TR/wai-aria-1.2/#roles), [ARIA attributes](https://www.w3.org/TR/wai-aria-1.2/#aria-attributes) and [accessible name](https://w3c.github.io/accname/#dfn-accessible-name).
1414
- [`method: Page.getByLabel`] to locate a form control by associated label's text.
15+
- [`method: Page.getByTestId`] to locate an element based on its `data-testid` attribute (other attribute can be configured).
1516
- [`method: Page.getByPlaceholder`] to locate an input by placeholder.
1617
- [`method: Page.getByAltText`] to locate an element, usually image, by its text alternative.
1718
- [`method: Page.getByTitle`] to locate an element by its title.

docs/src/release-notes-python.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ With these new APIs writing locators is a joy:
1212
- [`method: Page.getByText`] to locate by text content.
1313
- [`method: Page.getByRole`] to locate by [ARIA role](https://www.w3.org/TR/wai-aria-1.2/#roles), [ARIA attributes](https://www.w3.org/TR/wai-aria-1.2/#aria-attributes) and [accessible name](https://w3c.github.io/accname/#dfn-accessible-name).
1414
- [`method: Page.getByLabel`] to locate a form control by associated label's text.
15+
- [`method: Page.getByTestId`] to locate an element based on its `data-testid` attribute (other attribute can be configured).
1516
- [`method: Page.getByPlaceholder`] to locate an input by placeholder.
1617
- [`method: Page.getByAltText`] to locate an element, usually image, by its text alternative.
1718
- [`method: Page.getByTitle`] to locate an element by its title.

0 commit comments

Comments
 (0)