addBrowsers method

Class: ConfigurationPlatform: WebdriverIO 5Language: JavaScript SDK:

Request that the Ultrafast Grid generate checkpoint images for a list of desktop browsers and viewport sizes.

Syntax


let configval = config.addBrowsers(browsersInfo);

Parameters

browsersInfo
Type:<b>...</b> RenderBrowserInfo
One or more browser configuration definitions passed as an array or multiple parameters.
RenderBrowserInfo
The type RenderBrowserInfo is defined as: {width:number,height:number,name:<a class ='link' href='/Content/api/eyes-sdk/enums-gen/enum-global-browsertype-webdriverio_sdk5-javascript.htm'>BrowserType</a>}

Return value

Type: <a class ='link' href='/Content/api/eyes-sdk/index-gen/class-configuration-webdriverio_sdk5-javascript.htm'>Configuration</a>
The value returned is the object that called the method. This allows you to use a fluent style to call the setXXXX methods of this class.