@wdio/sync
Advanced tools
Comparing version 6.4.7 to 6.5.0
{ | ||
"name": "@wdio/sync", | ||
"version": "6.4.7", | ||
"version": "6.5.0", | ||
"description": "A WebdriverIO plugin. Helper module to run WebdriverIO commands synchronously", | ||
@@ -45,3 +45,3 @@ "author": "Christian Bromann <christian@saucelabs.com>", | ||
}, | ||
"gitHead": "eab934030da3f18a63300efd0999188c2d174ecf" | ||
"gitHead": "27e1326e46bf15ff4f6882a578aecd181e551656" | ||
} |
@@ -47,2 +47,7 @@ // -------------------- ATTENTION -------------------- | ||
type JsonPrimitive = string | number | boolean | null; | ||
type JsonObject = { [x: string]: JsonPrimitive | JsonObject | JsonArray }; | ||
type JsonArray = Array<JsonPrimitive | JsonObject | JsonArray>; | ||
type JsonCompatible = JsonObject | JsonArray; | ||
interface MultiRemoteCapabilities { | ||
@@ -141,2 +146,6 @@ [instanceName: string]: { | ||
/** | ||
* Delay in seconds between the spec file retry attempts | ||
*/ | ||
specFileRetriesDelay?: number; | ||
/** | ||
* Default timeout for all `waitFor*` commands. (Note the lowercase f in the option name.) | ||
@@ -503,3 +512,11 @@ * This timeout only affects commands starting with `waitFor*` and their default wait time. | ||
*/ | ||
body: any | ||
body: string | JsonCompatible | ||
/** | ||
* HTTP response headers. | ||
*/ | ||
responseHeaders: Record<string, string>; | ||
/** | ||
* HTTP response status code. | ||
*/ | ||
statusCode: number; | ||
} | ||
@@ -519,3 +536,6 @@ | ||
method?: string, | ||
headers?: Record<string, string> | ||
headers?: Record<string, string>, | ||
responseHeaders?: Record<string, string>, | ||
statusCode?: number, | ||
postData?: string | ((payload: string | undefined) => boolean) | ||
} | ||
@@ -1094,3 +1114,3 @@ | ||
/** | ||
* > This is a __beta__ feature. Please give us feedback and file [an issue](https://github.com/webdriverio/webdriverio/issues/new/choose) if certain scenarions don't work as expected! | ||
* > This is a __beta__ feature. Please give us feedback and file [an issue](https://github.com/webdriverio/webdriverio/issues/new/choose) if certain scenarios don't work as expected! | ||
*/ | ||
@@ -1097,0 +1117,0 @@ mock( |
62526
1474