@theintern/leadfoot
Version:
Leadfoot. A JavaScript client library that brings cross-platform consistency to the Selenium WebDriver API.
12 lines (11 loc) • 678 B
TypeScript
import { CancellablePromise } from '@theintern/common';
export declare function sleep(ms: number): CancellablePromise<void>;
export declare function forCommand(fn: Function, properties: {
usesElement?: boolean;
createsContext?: boolean;
}): Function;
export declare function getMethods(obj: object): string[];
export declare function getOwnProperties(obj: Object): string[];
export declare function manualFindByLinkText(using: string, value: string, multiple: boolean, element?: HTMLElement): HTMLAnchorElement | HTMLElement[] | undefined;
export declare function toExecuteString(fn: Function | string): string;
export declare function trimStack(stack: string): string;