WindowSize Method
Gets the size of the outer browser window, including title bars and window borders.

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: (
VB Usage
Dim instance As Window
Dim returnValue As Size

returnValue = instance.Size()

Return Value

Type: Size

[Missing <returns> documentation for "M:Selenium.Window.Size"]

When setting this property, it should act as the JavaScript window.resizeTo() method.
See Also