e2ed
Version:
E2E testing framework over Playwright
12 lines (11 loc) • 428 B
TypeScript
import type { KeyboardPressKey, Selector } from '../types/internal';
type Options = Readonly<{
delay?: number;
timeout?: number;
}>;
type PressKey = ((this: void, selector: Selector, key: KeyboardPressKey, options?: Options) => Promise<void>) & ((this: void, key: KeyboardPressKey, options?: Options) => Promise<void>);
/**
* Presses the specified keyboard keys.
*/
export declare const pressKey: PressKey;
export {};