(capabilities)
| 277 | } |
| 278 | |
| 279 | _convertAppiumV2Caps(capabilities) { |
| 280 | const _convertedCaps = {} |
| 281 | for (const [key, value] of Object.entries(capabilities)) { |
| 282 | if (!key.startsWith(vendorPrefix.appium)) { |
| 283 | if (key !== 'platformName' && key !== 'bstack:options' && key !== 'sauce:options') { |
| 284 | _convertedCaps[`${vendorPrefix.appium}:${key}`] = value |
| 285 | } else { |
| 286 | _convertedCaps[`${key}`] = value |
| 287 | } |
| 288 | } else { |
| 289 | _convertedCaps[`${key}`] = value |
| 290 | } |
| 291 | } |
| 292 | return _convertedCaps |
| 293 | } |
| 294 | |
| 295 | static _config() { |
| 296 | return [ |
no test coverage detected