docs: introduce the concept of details (#19242)

This commit is contained in:
Pavel Feldman 2022-12-02 17:35:21 -08:00 committed by GitHub
parent 0be4fa768a
commit 9b35ef3b8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -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.

View file

@ -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.