setBrowsersInfo method

Class: ConfigurationPlatform: Selenium 3Language: Java SDK:

Sets the devices to be rendered on the Ultrafast Grid.

The method sets the full list of all the browsers to be rendered on the Ultrafast Grid, removing any previously defined browsers. This method differs from the methods addBrowser and addDeviceEmulation, which build the list of browsers and devices incrementally (i.e. each call to addXXXX adds more browsers to the list of browsers to be rendered). If you call setBrowsersInfo after calling any of the addXXXX methods then the devices configured by the addXXXX will be lost. You may call the addXXXX methods after the setBrowsersInfo method to add more browsers to the list of browsers to be rendered.

Syntax


IConfigurationSetter configval = config.setBrowsersInfo(browsersInfo);

Parameters

browsersInfo
Type:List&lt;<a class ='link' href='/Content/api/eyes-sdk/index-gen/class-renderbrowserinfo-selenium-java.htm'>RenderBrowserInfo</a>&gt;
List of objects that define browsers and emulated devices to be rendered.

Return value

Type: IConfigurationSetter
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.