WebdriverIO 7 and 8
WebdriverIO 7 and 8 use the W3C protocol. Consider using pure Appium mode to ensure that commands are directly sent to the Appium server.
To use Perfecto capabilities (that is all capabilities that are not purely WebdriverIO, such as securityToken
, takesScreenshot
, location
, and resolution
), you must include them inside the perfecto:options
capability.
capabilities: [{
platformName: 'Windows',
browserName: 'chrome',
browserVersion: 'latest',
'perfecto:options': {
securityToken: '****',
},
}],
To learn more about capabilities, see Define capabilities. Except for browserName
and browserVersion
, all capabilities in this article are Perfecto capabilities.
For Perfecto information in the WebdriverIO documentation, see https://webdriver.io/docs/cloudservices/#perfecto. Note that the WebdriverIO documentation does not mention the requirement to use perfecto:options
. However, because Perfecto capabilities are not part of the W3C protocol, this prefix is needed.
For mobile testing, contact Perfecto Support.