addBrowsers method

Class: ConfigurationPlatform: Selenium 4Language: JavaScript SDK:

Request that the test be run using the Ultrafast Grid to generate checkpoint images on multiple desktop browsers and viewport sizes.


let configval = config.addBrowsers(browsersInfo);


Type:... RenderBrowserInfo

One or more browser or device configuration definitions passed as an array or multiple parameters.

The type RenderBrowserInfo is defined as: {width:number,height:number,name:BrowserType}

Return value

Type: Configuration
The value returned is the object that called the method. This allows you to use a fluent style to call the setXXXX methods of the Configuration class.


You can use this method to pass a list of configurations, for example based on a configuration file instead of configuring each browser device individually using multiple calls to Configuration.addBrowser.