add_browser method

Class: ConfigurationPlatform: Selenium 3Language: Python SDK:

Request that the Ultrafast Grid generate checkpoint images using a particular desktop browser and viewport size.


configval = config.add_browser(render_info)

configval = config.add_browser(width, height, browser_type)


Type:<a class ='link' href='/Content/api/eyes-sdk/index-gen/class-renderbrowserinfo-selenium-python_sdk4.htm'>RenderBrowserInfo</a>
An object that defines the attributes of the browser and the viewport.
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.
The height of the browser viewport for this target. There is no height limit.
Type:<a class ='link' href='/Content/api/eyes-sdk/enums-gen/enum-global-browsertype-selenium-python_sdk4.htm'>BrowserType</a>
The type of browser for this target.

Return value

Type: <a class ='link' href='/Content/api/eyes-sdk/index-gen/class-configuration-selenium-python_sdk4.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.


By default, the entire page is rendered. The viewport width and height parameters impact the baseline that is chosen, unless the baseline environment configuration has been provided. The viewport passed to the method does not impact the baseline used, but could impact the page layout if the page has any viewport size-sensitive factors such as HTML, CSS or Javascript.