From 6931d89eafb5c611113ccf1ab177f63bb0699e8c Mon Sep 17 00:00:00 2001 From: Dmitry Gozman Date: Sun, 8 May 2022 21:59:40 +0100 Subject: [PATCH] feat(locators): rename locator.that to locator.filter (#14025) --- docs/src/api/class-frame.md | 2 + docs/src/api/class-locator.md | 16 +- docs/src/api/class-page.md | 2 + docs/src/locators.md | 12 +- .../playwright-core/src/client/locator.ts | 2 +- packages/playwright-core/types/types.d.ts | 139 +++++++++--------- tests/config/experimental.d.ts | 139 +++++++++--------- tests/page/locator-query.spec.ts | 18 +-- 8 files changed, 172 insertions(+), 158 deletions(-) diff --git a/docs/src/api/class-frame.md b/docs/src/api/class-frame.md index 823bbe139f..a430f8d305 100644 --- a/docs/src/api/class-frame.md +++ b/docs/src/api/class-frame.md @@ -990,6 +990,8 @@ Returns whether the element is [visible](../actionability.md#visible). [`option: The method returns an element locator that can be used to perform actions in the frame. Locator is resolved to the element immediately before performing an action, so a series of actions on the same locator can in fact be performed on different DOM elements. That would happen if the DOM structure between those actions has changed. +[Learn more about locators](../locators.md). + ### param: Frame.locator.selector = %%-find-selector-%% ### option: Frame.locator.-inline- = %%-locator-options-list-%% diff --git a/docs/src/api/class-locator.md b/docs/src/api/class-locator.md index 421bb70b30..8abf0a37d7 100644 --- a/docs/src/api/class-locator.md +++ b/docs/src/api/class-locator.md @@ -384,6 +384,13 @@ Value to set for the ``, `