Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs: introduce the concept of details (#19242)
Pavel Feldman9b35ef3b8db4
diff --git a/docs/src/api/class-locator.md b/docs/src/api/class-locator.mdindex 79b8752273..7e82d548dd 100644--- a/docs/src/api/class-locator.md+++ b/docs/src/api/class-locator.md@@ -128,6 +128,10 @@ If the target element is not an `<input>`, `<textarea>` or `[contenteditable]` e## async method: Locator.click* since: v1.14+Click an element.++**Details**+This method clicks the element by performing the following steps:1. Wait for [actionability](../actionability.md) checks on the element, unless [`option: force`] option is set.1. Scroll the element into view if needed.diff --git a/packages/playwright-core/types/types.d.ts b/packages/playwright-core/types/types.d.tsindex 024e48d0df..1eeb1351db 100644--- a/packages/playwright-core/types/types.d.ts+++ b/packages/playwright-core/types/types.d.ts@@ -9980,6 +9980,10 @@ export interface Locator {}): Promise<void>;/**+ * Click an element.+ *+ * **Details**+ ** This method clicks the element by performing the following steps:* 1. Wait for [actionability](https://playwright.dev/docs/actionability) checks on the element, unless `force` option is set.* 1. Scroll the element into view if needed.