/** * A type representing a function that captures a screenshot. * @returns A promise that resolves with the file path to the screenshot image. */ export type TakeScreenShot = () => Promise; /** * A type representing a function that executes JavaScript code. * @param script - The JavaScript code or function to execute. * @param var_args - Optional arguments to pass to the script. * @returns A promise that resolves with the result of the execution. */ export type Executor = (script: string | Function, ...args: any[]) => Promise; //# sourceMappingURL=methods.interface.d.ts.map