@wdio/sync
Advanced tools
Comparing version 6.3.6 to 6.4.0
{ | ||
"name": "@wdio/sync", | ||
"version": "6.3.6", | ||
"version": "6.4.0", | ||
"description": "A WebdriverIO plugin. Helper module to run WebdriverIO commands synchronously", | ||
@@ -44,3 +44,3 @@ "author": "Christian Bromann <christian@saucelabs.com>", | ||
}, | ||
"gitHead": "ef0a63beabfc75970731da7d00562f6a448606ee" | ||
"gitHead": "ee83c6560fb2bef85d3af570b4aee24de0936018" | ||
} |
@@ -97,2 +97,6 @@ // -------------------- ATTENTION -------------------- | ||
/** | ||
* Files to watch when running `wdio` with the `--watch` flag. | ||
*/ | ||
filesToWatch?: string[], | ||
/** | ||
* An object describing various of suites, which you can then specify | ||
@@ -501,2 +505,3 @@ * with the --suite option on the wdio CLI. | ||
type PuppeteerBrowser = Partial<import('puppeteer').Browser>; | ||
type CDPSession = Partial<import('puppeteer').CDPSession>; | ||
@@ -1060,2 +1065,11 @@ type MockOverwriteFunction = (request: Request, client: CDPSession) => Promise<string | Record<string, any>>; | ||
/** | ||
* Get the [Puppeteer Browser instance](https://pptr.dev/#?product=Puppeteer&version=v5.1.0&show=api-class-browser) | ||
* to run commands with Puppeteer. Note that all Puppeteer commands are | ||
* asynchronous by default so in order to interchange between sync and async | ||
* execution make sure to wrap your Puppeteer calls within a `browser.call` | ||
* commands as shown in the example. | ||
*/ | ||
getPuppeteer(): PuppeteerBrowser; | ||
/** | ||
* Returns browser window size (and position for drivers with W3C support). | ||
@@ -1180,3 +1194,3 @@ */ | ||
* Throttle the network capabilities of the browser. This can help to | ||
* emulate certain scenarios where a user looses the internet connection | ||
* emulate certain scenarios where a user loses their internet connection | ||
* and your app needs to address that. | ||
@@ -1183,0 +1197,0 @@ */ |
60983
1443