e2ed
Version:
E2E testing framework over Playwright
9 lines (8 loc) • 441 B
TypeScript
import type { Locator } from '@playwright/test';
import type { Selector, WithStabilizationInterval } from '../types/internal';
type Options = Parameters<Locator['dragTo']>[1] & WithStabilizationInterval;
/**
* Drags the source element towards the target element and drops it.
*/
export declare const dragTo: (sourceSelector: Selector, targetSelector: Selector, { stabilizationInterval, ...options }?: Options) => Promise<void>;
export {};