Update docs/src/api/class-locator.md
Co-authored-by: Dmitry Gozman <dgozman@gmail.com> Signed-off-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
parent
bc363f660d
commit
09d25f2dd8
|
|
@ -1654,7 +1654,9 @@ var banana = await page.GetByRole(AriaRole.Listitem).Nth(2);
|
|||
- alias-python: or_
|
||||
- returns: <[Locator]>
|
||||
|
||||
Creates a locator that matches either of the two locators. [Locator strictness](./locators.md#strictness) still applies (if it results in multiple elements, it throws).
|
||||
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.
|
||||
|
||||
**Usage**
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue