Sha256: 9b3e7f776f312c76ac67e1060e5398d7ac2c69d6a3a928a9daaae2eb05b15f56
Contents?: true
Size: 1.9 KB
Versions: 26
Compression:
Stored size: 1.9 KB
Contents
import { type Options } from '../options'; import { type PointerInput } from '../pointer'; import { type System } from '../system'; import { type UserEventApi } from './setup'; export type DirectOptions = Options & { keyboardState?: System; pointerState?: System; }; export declare function clear(element: Element): Promise<void>; export declare function click(element: Element, options?: DirectOptions): Promise<void>; export declare function copy(options?: DirectOptions): Promise<DataTransfer | undefined>; export declare function cut(options?: DirectOptions): Promise<DataTransfer | undefined>; export declare function dblClick(element: Element, options?: DirectOptions): Promise<void>; export declare function deselectOptions(select: Element, values: HTMLElement | HTMLElement[] | string[] | string, options?: DirectOptions): Promise<void>; export declare function hover(element: Element, options?: DirectOptions): Promise<void>; export declare function keyboard(text: string, options?: DirectOptions): Promise<System>; export declare function pointer(input: PointerInput, options?: DirectOptions): Promise<System>; export declare function paste(clipboardData?: DataTransfer | string, options?: DirectOptions): Promise<void>; export declare function selectOptions(select: Element, values: HTMLElement | HTMLElement[] | string[] | string, options?: DirectOptions): Promise<void>; export declare function tripleClick(element: Element, options?: DirectOptions): Promise<void>; export declare function type(element: Element, text: string, options?: DirectOptions & Parameters<UserEventApi['type']>[2]): Promise<void>; export declare function unhover(element: Element, options?: DirectOptions): Promise<void>; export declare function upload(element: HTMLElement, fileOrFiles: File | File[], options?: DirectOptions): Promise<void>; export declare function tab(options?: DirectOptions & Parameters<UserEventApi['tab']>[0]): Promise<void>;
Version data entries
26 entries across 26 versions & 1 rubygems