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

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax
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"]

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