doclint
This commit is contained in:
parent
09d25f2dd8
commit
5467dbeb46
|
|
@ -1656,7 +1656,7 @@ var banana = await page.GetByRole(AriaRole.Listitem).Nth(2);
|
||||||
|
|
||||||
Creates a locator matching all elements that match one or both of the two locators.
|
Creates a locator matching all elements that match one or both of the two locators.
|
||||||
|
|
||||||
Note that when both locators match something, the resulting locator will have multiple matches and violate [locator strictness](./locators.md#strictness) guidelines.
|
Note that when both locators match something, the resulting locator will have multiple matches and violate [locator strictness](../locators.md#strictness) guidelines.
|
||||||
|
|
||||||
**Usage**
|
**Usage**
|
||||||
|
|
||||||
|
|
|
||||||
6
packages/playwright-core/types/types.d.ts
vendored
6
packages/playwright-core/types/types.d.ts
vendored
|
|
@ -13060,8 +13060,10 @@ export interface Locator {
|
||||||
nth(index: number): Locator;
|
nth(index: number): Locator;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a locator that matches either of the two locators. [Locator strictness](https://playwright.dev/docs/api/locators#strictness) still
|
* Creates a locator matching all elements that match one or both of the two locators.
|
||||||
* applies (if it results in multiple elements, it throws).
|
*
|
||||||
|
* Note that when both locators match something, the resulting locator will have multiple matches and violate
|
||||||
|
* [locator strictness](https://playwright.dev/docs/locators#strictness) guidelines.
|
||||||
*
|
*
|
||||||
* **Usage**
|
* **Usage**
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue