1 | import type { Browser } from 'webdriverio';
|
2 | import executeHooksWithArgs from './executeHooksWithArgs';
|
3 | import runFnInFiberContext from './runFnInFiberContext';
|
4 | import wrapCommand from './wrapCommand';
|
5 | declare const defaultRetries: {
|
6 | attempts: number;
|
7 | limit: number;
|
8 | };
|
9 | declare global {
|
10 | var _HAS_FIBER_CONTEXT: boolean;
|
11 | var browser: any;
|
12 | }
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 | declare function executeSync(this: Browser<'async'>, fn: Function, retries?: {
|
22 | attempts: number;
|
23 | limit: number;
|
24 | }, args?: any[]): Promise<any>;
|
25 |
|
26 |
|
27 |
|
28 | declare function runSync(this: any, fn: Function, repeatTest?: typeof defaultRetries, args?: any[]): (resolve: (value: any) => void, reject: (err: Error) => void) => any;
|
29 | export { executeHooksWithArgs, wrapCommand, runFnInFiberContext, executeSync, runSync, };
|
30 | export default function sync(testFn: Function): Promise<unknown>;
|
31 |
|
\ | No newline at end of file |