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
|
## input-source
|
||||||
- `source` <[string]>
|
- `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
|
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.
|
[working with selectors](../selectors.md) for more details.
|
||||||
|
|
||||||
## input-target
|
## input-target
|
||||||
- `target` <[string]>
|
- `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
|
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.
|
[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>;
|
}): Promise<void>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param source
|
* @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
|
* @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
|
* @param options
|
||||||
*/
|
*/
|
||||||
dragAndDrop(source: string, target: string, options?: {
|
dragAndDrop(source: string, target: string, options?: {
|
||||||
|
|
@ -5185,8 +5185,8 @@ export interface Frame {
|
||||||
}): Promise<void>;
|
}): Promise<void>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param source
|
* @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
|
* @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
|
* @param options
|
||||||
*/
|
*/
|
||||||
dragAndDrop(source: string, target: string, options?: {
|
dragAndDrop(source: string, target: string, options?: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue