Skip to content

Commit 37cd6cb

Browse files
fix(Appium): should not override sauce:options cap with prefix - iOS 17+ (#5202)
1 parent f4da7e9 commit 37cd6cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/helper/Appium.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ class Appium extends Webdriver {
275275
const _convertedCaps = {}
276276
for (const [key, value] of Object.entries(capabilities)) {
277277
if (!key.startsWith(vendorPrefix.appium)) {
278-
if (key !== 'platformName' && key !== 'bstack:options') {
278+
if (key !== 'platformName' && key !== 'bstack:options' && key !== 'sauce:options') {
279279
_convertedCaps[`${vendorPrefix.appium}:${key}`] = value
280280
} else {
281281
_convertedCaps[`${key}`] = value

0 commit comments

Comments
 (0)