@wdio/firefox-profile-service
Advanced tools
Comparing version 8.14.0 to 8.15.0
@@ -56,2 +56,8 @@ import Profile from 'firefox-profile'; | ||
capabilities | ||
.flatMap((c) => { | ||
if (Object.values(c).length > 0 && Object.values(c).every(c => typeof c === 'object' && c.capabilities)) { | ||
return Object.values(c).map((o) => o.capabilities); | ||
} | ||
return c; | ||
}) | ||
.filter((capability) => capability.browserName === 'firefox') | ||
@@ -58,0 +64,0 @@ .forEach((capability) => { |
{ | ||
"name": "@wdio/firefox-profile-service", | ||
"version": "8.14.0", | ||
"version": "8.15.0", | ||
"description": "WebdriverIO service that lets you define your Firefox profile in your wdio.conf.js", | ||
@@ -39,3 +39,3 @@ "author": "Christian Bromann <mail@bromann.dev>", | ||
"dependencies": { | ||
"@wdio/types": "8.14.0", | ||
"@wdio/types": "8.15.0", | ||
"firefox-profile": "^4.0.0" | ||
@@ -46,3 +46,3 @@ }, | ||
}, | ||
"gitHead": "cb2092b007e6d2ac23a49aa30dae67d70e45906d" | ||
"gitHead": "78e199c5ffd74bdf3a5576952c3834c29afa989f" | ||
} |
Sorry, the diff of this file is not supported yet
16166
217
+ Added@wdio/types@8.15.0(transitive)
- Removed@wdio/types@8.14.0(transitive)
Updated@wdio/types@8.15.0