UNPKG

appium-remote-debugger

Version:
38 lines 1.45 kB
declare namespace _default { export { executeAtom }; export { executeAtomAsync }; export { execute }; export { callFunction }; } export default _default; /** * Execute a Selenium atom in Safari * @param {string} atom Name of Selenium atom (see atoms/ directory) * @param {any[]} args Arguments passed to the atom * @param {string[]} frames * @returns {Promise<string>} The result received from the atom */ declare function executeAtom(atom: string, args?: any[], frames?: string[]): Promise<string>; /** * @this {import('../remote-debugger').RemoteDebugger} * @param {string} atom * @param {any[]} [args] * @param {string[]} [frames] * @returns {Promise<any>} */ declare function executeAtomAsync(this: import("../remote-debugger").default, atom: string, args?: any[] | undefined, frames?: string[] | undefined): Promise<any>; /** * @this {import('../remote-debugger').RemoteDebugger} * @param {string} command * @param {boolean} [override] * @returns {Promise<any>} */ declare function execute(this: import("../remote-debugger").default, command: string, override?: boolean | undefined): Promise<any>; /** * @this {import('../remote-debugger').RemoteDebugger} * @param {string} objectId * @param {any} fn * @param {any[]} [args] */ declare function callFunction(this: import("../remote-debugger").default, objectId: string, fn: any, args?: any[] | undefined): Promise<any>; //# sourceMappingURL=execute.d.ts.map