Skip to content

Commit

Permalink
Update Appium.js - Issue #4047 - bstack:options'Prefix (#4053)
Browse files Browse the repository at this point in the history
  • Loading branch information
mojtabaalavi authored Dec 5, 2023
1 parent 154f2f7 commit 7317709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/helper/Appium.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ class Appium extends Webdriver {
const _convertedCaps = {};
for (const [key, value] of Object.entries(capabilities)) {
if (!key.startsWith(vendorPrefix.appium)) {
if (key !== 'platformName') {
if (key !== 'platformName' && key !== 'bstack:options') {
_convertedCaps[`${vendorPrefix.appium}:${key}`] = value;
} else {
_convertedCaps[`${key}`] = value;
Expand Down

0 comments on commit 7317709

Please sign in to comment.