WebdriverIO v7

Note

WebdriverIO v7 is currently only supported for web testing.

If you work with WebdriverIO v7, you need to make sure that all Perfecto capabilities (that is all capabilities that are not purely WedriverIO) are included inside the perfecto:options capability. Examples of such capabilities are securityToken, takesScreenshot, location, and resolution. Following is a code sample:

Copy
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.