@wdio/firefox-profile-service 7.13.2 → 7.16.3
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/build/launcher.js +3 -3
- package/package.json +3 -3
package/build/launcher.js
CHANGED
|
@@ -17,7 +17,7 @@ class FirefoxProfileLauncher {
|
|
|
17
17
|
return;
|
|
18
18
|
}
|
|
19
19
|
if (this._options.profileDirectory) {
|
|
20
|
-
this._profile = await util_1.promisify(firefox_profile_1.default.copy)(this._options.profileDirectory);
|
|
20
|
+
this._profile = await (0, util_1.promisify)(firefox_profile_1.default.copy)(this._options.profileDirectory);
|
|
21
21
|
}
|
|
22
22
|
else {
|
|
23
23
|
this._profile = new firefox_profile_1.default();
|
|
@@ -31,7 +31,7 @@ class FirefoxProfileLauncher {
|
|
|
31
31
|
return this._buildExtension(capabilities);
|
|
32
32
|
}
|
|
33
33
|
// Add the extension
|
|
34
|
-
await util_1.promisify(this._profile.addExtensions.bind(this._profile))(this._options.extensions);
|
|
34
|
+
await (0, util_1.promisify)(this._profile.addExtensions.bind(this._profile))(this._options.extensions);
|
|
35
35
|
return this._buildExtension(capabilities);
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
@@ -56,7 +56,7 @@ class FirefoxProfileLauncher {
|
|
|
56
56
|
if (!this._profile) {
|
|
57
57
|
return;
|
|
58
58
|
}
|
|
59
|
-
const zippedProfile = await util_1.promisify(this._profile.encoded.bind(this._profile))();
|
|
59
|
+
const zippedProfile = await (0, util_1.promisify)(this._profile.encoded.bind(this._profile))();
|
|
60
60
|
if (Array.isArray(capabilities)) {
|
|
61
61
|
capabilities
|
|
62
62
|
.filter((capability) => capability.browserName === 'firefox')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/firefox-profile-service",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.16.3",
|
|
4
4
|
"description": "WebdriverIO service that lets you define your Firefox profile in your wdio.conf.js",
|
|
5
5
|
"author": "Christian Bromann <christian@saucelabs.com>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-firefox-profile-service",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"url": "https://github.com/webdriverio/webdriverio/issues"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@wdio/types": "7.
|
|
32
|
+
"@wdio/types": "7.16.3",
|
|
33
33
|
"firefox-profile": "^4.0.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"types": "./build/index.d.ts",
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "23e2af933060e829f03d7518089c377571c654e3"
|
|
43
43
|
}
|