Nexial Automation

Test Automation Platform for everyone!

X

web » resizeWindow(width,height)

Description

  • This command is to resize the browser windows.
  • The command will resize the window as per the width and height defined as input parameters.
  • The command will pass if the valid input was provided to resize or else fail otherwise.

Parameters

  • width - this parameter is the width of the browser window to resize
  • height - this parameter is the height of the browser window to resize.

Example

Script:

Output:

See Also