Resize Browser

Set the viewport width and height.

Web BrowserSeleniumBrowserResizeBrowser

What it does

Set the viewport width and height.

Parameters

ParameterTypeRequiredDefaultDescription
Browser instancevariable
RequiredbrowserName that identifies this browser session.
Widthnumber
Required
Example: 1280
Supports variables
Heightnumber
Required
Example: 800
Supports variables

More Web Browser commands

Ready to automate your busywork?

Start your free 10-day trial today. No credit card, no commitment.