C# Class WebDriverWrapper.Browser

Exibir arquivo Open project: geeksree/cSharpGeeks Class Usage Examples

Private Properties

Property Type Description
ConfigureJava void
IsConnected bool
WinGetHandle System.IntPtr

Public Methods

Method Description
Browser ( BrowserType aBrowserType ) : System
Browser ( BrowserType aBrowserType, int port ) : System
Browser ( BrowserType aBrowserType, string binaryPath ) : System
Browser ( BrowserType aBrowserType, string binaryPath, string downloadDirectory ) : System
Close ( ) : void
DeleteAllCookies ( ) : void
ExecuteJavaScript ( string JavaScript ) : object
GetBrowser ( BrowserType aBrowserType ) : void
GoBack ( ) : void
GoForward ( ) : void
Maximize ( ) : void
Navigate ( string Url ) : void
Quit ( ) : void
Refresh ( ) : void
SwitchBrowser ( string BrowserTitle ) : void
SwitchToDefaultContent ( ) : void
SwitchToFrame ( int FrameIndex ) : void
SwitchToFrame ( string FrameName ) : void
TakeSreenShot ( ) : Bitmap
WaitForPageLoaded ( int Timeout ) : void

Private Methods

Method Description
ConfigureJava ( ) : void
IsConnected ( ) : bool
WinGetHandle ( string wName ) : IntPtr

Method Details

Browser() public method

public Browser ( BrowserType aBrowserType ) : System
aBrowserType BrowserType
return System

Browser() public method

public Browser ( BrowserType aBrowserType, int port ) : System
aBrowserType BrowserType
port int
return System

Browser() public method

public Browser ( BrowserType aBrowserType, string binaryPath ) : System
aBrowserType BrowserType
binaryPath string
return System

Browser() public method

public Browser ( BrowserType aBrowserType, string binaryPath, string downloadDirectory ) : System
aBrowserType BrowserType
binaryPath string
downloadDirectory string
return System

Close() public method

public Close ( ) : void
return void

DeleteAllCookies() public method

public DeleteAllCookies ( ) : void
return void

ExecuteJavaScript() public method

public ExecuteJavaScript ( string JavaScript ) : object
JavaScript string
return object

GetBrowser() public method

public GetBrowser ( BrowserType aBrowserType ) : void
aBrowserType BrowserType
return void

GoBack() public method

public GoBack ( ) : void
return void

GoForward() public method

public GoForward ( ) : void
return void

Maximize() public method

public Maximize ( ) : void
return void

Navigate() public method

public Navigate ( string Url ) : void
Url string
return void

Quit() public method

public Quit ( ) : void
return void

Refresh() public method

public Refresh ( ) : void
return void

SwitchBrowser() public method

public SwitchBrowser ( string BrowserTitle ) : void
BrowserTitle string
return void

SwitchToDefaultContent() public method

public SwitchToDefaultContent ( ) : void
return void

SwitchToFrame() public method

public SwitchToFrame ( int FrameIndex ) : void
FrameIndex int
return void

SwitchToFrame() public method

public SwitchToFrame ( string FrameName ) : void
FrameName string
return void

TakeSreenShot() public method

public TakeSreenShot ( ) : Bitmap
return System.Drawing.Bitmap

WaitForPageLoaded() public method

public WaitForPageLoaded ( int Timeout ) : void
Timeout int
return void