browsersInfo property

Class: ConfigurationPlainPlatform: Selenium 4Language: JavaScript 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

config = { browsersInfo: value };

Type:

(DesktopBrowserInfo|ChromeEmulationInfo|IOSDeviceInfo)[]

List of objects that define browsers and emulated devices to be rendered.