docs: dragAndDrop source/target descriptions (#15658)
This commit is contained in:
parent
cb81d23ad6
commit
e37514b43c
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
8
packages/playwright-core/types/types.d.ts
vendored
8
packages/playwright-core/types/types.d.ts
vendored
|
|
@ -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?: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue