Method | Description | |
---|---|---|
Activate ( ) : |
Change focus to this window.
|
|
Close ( ) : void |
Closes the current window.
|
|
Equals ( object obj ) : bool |
Determines whether the specified instances are considered equal.
|
|
FullScreen ( ) : void |
Set the current window full screen.
|
|
GetHashCode ( ) : int |
Returns the hash code
|
|
Maximize ( ) : void |
Maximizes the current window if it is not already maximized.
|
|
Position ( ) : Point |
Gets the position of the browser window relative to the upper-left corner of the screen. When setting this property, it should act as the JavaScript window.moveTo() method. |
|
SetPosition ( int x, int y ) : void |
Sets the position of the browser window relative to the upper-left corner of the screen.
|
|
SetSize ( int width, int height ) : void |
Sets the size of the outer browser window, including title bars and window borders.
|
|
Size ( ) : Selenium.Size |
Gets the size of the outer browser window, including title bars and window borders. When setting this property, it should act as the JavaScript window.resizeTo() method. |
|
SwitchToNextWindow ( int timeout = -1 ) : |
Switch to the next available window
|
|
SwitchToPreviousWindow ( ) : |
Switch to the previous focused window.
|
|
SwitchToWindowByName ( string name, int timeout = -1 ) : |
Change focus to another window.
|
|
SwitchToWindowByTitle ( string title, int timeout = -1 ) : |
Change focus to another window.
|
Method | Description | |
---|---|---|
GetWindowHandle ( RemoteSession session ) : string | ||
Window ( RemoteSession session, Selenium.Core.WindowContext windows, string handle ) : Selenium.Core | ||
uri ( ) : string |
public Equals ( object obj ) : bool | ||
obj | object | Object to compare. |
return | bool |
public SetSize ( int width, int height ) : void | ||
width | int | |
height | int | |
return | void |
public SwitchToNextWindow ( int timeout = -1 ) : |
||
timeout | int | Optional timeout in milliseconds |
return |
public SwitchToWindowByName ( string name, int timeout = -1 ) : |
||
name | string | Name of the window |
timeout | int | Optional timeout in milliseconds |
return |
public SwitchToWindowByTitle ( string title, int timeout = -1 ) : |
||
title | string | Title of the window |
timeout | int | Optional timeout in milliseconds |
return |