docs: dragAndDrop source/target descriptions (#15658)

This commit is contained in:
Yury Semikhatsky 2022-07-14 09:42:26 -07:00 committed by GitHub
parent cb81d23ad6
commit e37514b43c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View file

@ -56,11 +56,13 @@ A selector to search for an element. If there are multiple elements satisfying t
## input-source
- `source` <[string]>
A selector to search for an element to drag. If there are multiple elements satisfying the selector, the first will be used. See
[working with selectors](../selectors.md) for more details.
## input-target
- `target` <[string]>
A selector to search for an element to drop onto. If there are multiple elements satisfying the selector, the first will be used. See
[working with selectors](../selectors.md) for more details.

View file

@ -2140,8 +2140,8 @@ export interface Page {
}): Promise<void>;
/**
* @param source
* @param target
* @param source A selector to search for an element to drag. If there are multiple elements satisfying the selector, the first will be used. See [working with selectors](https://playwright.dev/docs/selectors) for more details.
* @param target A selector to search for an element to drop onto. If there are multiple elements satisfying the selector, the first will be used. See [working with selectors](https://playwright.dev/docs/selectors) for more details.
* @param options
*/
dragAndDrop(source: string, target: string, options?: {
@ -5185,8 +5185,8 @@ export interface Frame {
}): Promise<void>;
/**
* @param source
* @param target
* @param source A selector to search for an element to drag. If there are multiple elements satisfying the selector, the first will be used. See [working with selectors](https://playwright.dev/docs/selectors) for more details.
* @param target A selector to search for an element to drop onto. If there are multiple elements satisfying the selector, the first will be used. See [working with selectors](https://playwright.dev/docs/selectors) for more details.
* @param options
*/
dragAndDrop(source: string, target: string, options?: {