C# Class WebDriverWrapper.Browser

Afficher le fichier Open project: geeksree/cSharpGeeks Class Usage Examples

Private Properties

Свойство Type Description
ConfigureJava void
IsConnected bool
WinGetHandle System.IntPtr

Méthodes publiques

Méthode 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

Méthode Description
ConfigureJava ( ) : void
IsConnected ( ) : bool
WinGetHandle ( string wName ) : IntPtr

Method Details

Browser() public méthode

public Browser ( BrowserType aBrowserType ) : System
aBrowserType BrowserType
Résultat System

Browser() public méthode

public Browser ( BrowserType aBrowserType, int port ) : System
aBrowserType BrowserType
port int
Résultat System

Browser() public méthode

public Browser ( BrowserType aBrowserType, string binaryPath ) : System
aBrowserType BrowserType
binaryPath string
Résultat System

Browser() public méthode

public Browser ( BrowserType aBrowserType, string binaryPath, string downloadDirectory ) : System
aBrowserType BrowserType
binaryPath string
downloadDirectory string
Résultat System

Close() public méthode

public Close ( ) : void
Résultat void

DeleteAllCookies() public méthode

public DeleteAllCookies ( ) : void
Résultat void

ExecuteJavaScript() public méthode

public ExecuteJavaScript ( string JavaScript ) : object
JavaScript string
Résultat object

GetBrowser() public méthode

public GetBrowser ( BrowserType aBrowserType ) : void
aBrowserType BrowserType
Résultat void

GoBack() public méthode

public GoBack ( ) : void
Résultat void

GoForward() public méthode

public GoForward ( ) : void
Résultat void

Maximize() public méthode

public Maximize ( ) : void
Résultat void

Navigate() public méthode

public Navigate ( string Url ) : void
Url string
Résultat void

Quit() public méthode

public Quit ( ) : void
Résultat void

Refresh() public méthode

public Refresh ( ) : void
Résultat void

SwitchBrowser() public méthode

public SwitchBrowser ( string BrowserTitle ) : void
BrowserTitle string
Résultat void

SwitchToDefaultContent() public méthode

public SwitchToDefaultContent ( ) : void
Résultat void

SwitchToFrame() public méthode

public SwitchToFrame ( int FrameIndex ) : void
FrameIndex int
Résultat void

SwitchToFrame() public méthode

public SwitchToFrame ( string FrameName ) : void
FrameName string
Résultat void

TakeSreenShot() public méthode

public TakeSreenShot ( ) : Bitmap
Résultat System.Drawing.Bitmap

WaitForPageLoaded() public méthode

public WaitForPageLoaded ( int Timeout ) : void
Timeout int
Résultat void