@wdio/sync
Advanced tools
Comparing version 5.8.1 to 5.8.6
@@ -55,3 +55,2 @@ "use strict"; | ||
*/ | ||
// commandIsRunning = false | ||
return new Promise((resolve, reject) => { | ||
@@ -58,0 +57,0 @@ try { |
{ | ||
"name": "@wdio/sync", | ||
"version": "5.8.1", | ||
"version": "5.8.6", | ||
"description": "A WebdriverIO plugin. Helper module to run WebdriverIO commands synchronously", | ||
@@ -44,3 +44,3 @@ "author": "Christian Bromann <christian@saucelabs.com>", | ||
}, | ||
"gitHead": "2d6531e63b890b4d7e9f1133834d7fcfc0f3e1e6" | ||
"gitHead": "4d9b701c1c44ccabd8461eab79c98900cd9fa962" | ||
} |
@@ -206,2 +206,12 @@ /// <reference types="node"/> | ||
): void; | ||
react$$( | ||
selector: string, | ||
props?: object, | ||
state?: any[] | number | string | object | boolean | ||
): Element[]; | ||
react$( | ||
selector: string, | ||
props?: object, | ||
state?: any[] | number | string | object | boolean | ||
): Element; | ||
saveScreenshot( | ||
@@ -226,4 +236,8 @@ filename: string | ||
): void; | ||
shadow$$(): void; | ||
shadow$(): void; | ||
shadow$$( | ||
selector: string | Function | ||
): Element[]; | ||
shadow$( | ||
selector: string | Function | ||
): Element; | ||
touchAction( | ||
@@ -273,3 +287,3 @@ action: TouchActions | ||
interval?: number | ||
): void | ||
): boolean | ||
$$( | ||
@@ -288,2 +302,3 @@ selector: string | Function | ||
): Cookie[]; | ||
getWindowSize(): object; | ||
keys( | ||
@@ -301,8 +316,10 @@ value: string | string[] | ||
react$$( | ||
selector: string, | ||
props?: object, | ||
state?: object | ||
): Element; | ||
state?: any[] | number | string | object | boolean | ||
): Element[]; | ||
react$( | ||
selector: string, | ||
props?: object, | ||
state?: object | ||
state?: any[] | number | string | object | boolean | ||
): Element; | ||
@@ -309,0 +326,0 @@ reloadSession(): void; |
27252
769