RenderBrowserInfo method

Class: RenderBrowserInfoPlatform: Selenium 3Language: Java SDK:

Create an object that configures the Ultrafast Grid to render each checkpoint for a chosen browser and viewport size.

Objects of this type are passed to Configuration.addBrowsers.

Syntax


RenderBrowserInfo obj = new RenderBrowserInfo(viewportSize, browserType, baselineEnvName);

RenderBrowserInfo obj = new RenderBrowserInfo(viewportSize, browserType);

RenderBrowserInfo obj = new RenderBrowserInfo(emulationInfo, baselineEnvName);

RenderBrowserInfo obj = new RenderBrowserInfo(width, height);

RenderBrowserInfo obj = new RenderBrowserInfo(emulationInfo);

RenderBrowserInfo obj = new RenderBrowserInfo(width, height, browserType, baselineEnvName);

RenderBrowserInfo obj = new RenderBrowserInfo(width, height, browserType);

Parameters

viewportSize
Type:RectangleSize
The viewport size of the browser, this can impact the layout of the page. The maximum viewport width for all browsers is 5120. If this limit is exceeded, then execution of the checkpoint will fail.
browserType
Type:BrowserType
The browser types, a value from the set of supported devices defined by the enumerated type BrowserType.
baselineEnvName
Type:String
The name of the baseline environment. If provided, then the viewport, host app (browser), and OS that define the baseline are defined by the baseline environment name and not by the execution environment. The name should already be defined in the Test manager. If it is not defined, then it will be created based on the execution environment of the first test that uses that name. For more information see Working with cross-environment tests.
emulationInfo
Type:EmulationBaseInfo
width
Type:int
The width of the browser viewport for this target. The maximum viewport width for all browsers is 5120. If this limit is exceeded, then execution of the checkpoint will fail.
height
Type:int
The height of the viewport in pixels.

Return value

Type: RenderBrowserInfo