docs: introduce the concept of details (#19242)
This commit is contained in:
parent
0be4fa768a
commit
9b35ef3b8d
|
|
@ -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.
|
||||
|
|
|
|||
4
packages/playwright-core/types/types.d.ts
vendored
4
packages/playwright-core/types/types.d.ts
vendored
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue