@applitools/spec-driver-puppeteer 1.1.39 → 1.1.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/spec-driver.js +8 -0
- package/package.json +3 -3
- package/types/index.d.ts +1 -1
package/dist/spec-driver.js
CHANGED
|
@@ -261,6 +261,14 @@ exports.waitUntilDisplayed = waitUntilDisplayed;
|
|
|
261
261
|
// #endregion
|
|
262
262
|
// #region BUILD
|
|
263
263
|
const browserNames = ['chrome', 'firefox'];
|
|
264
|
+
/*
|
|
265
|
+
* Spawn a browser with a given configuration (INTERNAL USE ONLY)
|
|
266
|
+
*
|
|
267
|
+
* NOTE:
|
|
268
|
+
* This function is intended for internal use only. As a result it relies on some dev dependencies.
|
|
269
|
+
* When wiring the spec-driver up to an SDK and calling this function, if you don't have the same dev deps
|
|
270
|
+
* installed in the SDK, then this function will error.
|
|
271
|
+
*/
|
|
264
272
|
async function build(env) {
|
|
265
273
|
const puppeteer = require('puppeteer');
|
|
266
274
|
const parseEnv = require('@applitools/test-utils/src/parse-env');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/spec-driver-puppeteer",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.41",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"puppeteer",
|
|
6
6
|
"chrome devtools protocol",
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
"postversion": "bongo postversion --skip-release-notification"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@applitools/driver": "1.11.
|
|
54
|
+
"@applitools/driver": "1.11.30",
|
|
55
55
|
"@applitools/utils": "1.3.30"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@applitools/api-extractor": "1.2.11",
|
|
59
|
-
"@applitools/bongo": "^2.2.
|
|
59
|
+
"@applitools/bongo": "^2.2.5",
|
|
60
60
|
"@applitools/test-utils": "1.5.12",
|
|
61
61
|
"@types/mocha": "^9.1.1",
|
|
62
62
|
"@types/node": "12",
|
package/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import('@applitools/driver').SpecDriver<Driver, Context, Element<globalThis.Element>, Selector
|
|
1
|
+
declare const _default: import('@applitools/driver').SpecDriver<import('@applitools/driver').SpecType<Driver, Context, Element<globalThis.Element>, Selector>>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export function isDriver(page: any): page is Driver;
|
|
4
4
|
export function isContext(frame: any): frame is Context;
|