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)
- 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.
- The type of browser for this target.
- Type: Configuration
The value returned is the object that called the method.
This allows you to use a fluent style to call the
setXXXXmethods of this class.