docs(class-locator.md): fix incorrect version of locator-and (#23216)

This commit is contained in:
keita hino 2023-05-27 01:47:19 +09:00 committed by GitHub
parent 4f3d4c41af
commit f301ddfc7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,7 +106,7 @@ var texts = await page.GetByRole(AriaRole.Link).AllTextContentsAsync();
## method: Locator.and
* since: v1.33
* since: v1.34
* langs:
- alias-python: and_
- returns: <[Locator]>
@ -138,7 +138,7 @@ var button = page.GetByRole(AriaRole.Button).And(page.GetByTitle("Subscribe"));
```
### param: Locator.and.locator
* since: v1.33
* since: v1.34
- `locator` <[Locator]>
Additional locator to match.