C# Class TestAutomationEssentials.Selenium.BrowserWindow

Represents a browser window
Inheritance: ElementsContainer, IDOMRoot
Afficher le fichier Open project: arnonax/TestEssentials Class Usage Examples

Méthodes publiques

Méthode Description
BrowserWindow ( Browser browser, string windowHandle, string description ) : OpenQA.Selenium

Initializes the BrowserWindow given the specified browser, window handle, and a description

Close ( ) : void

Closes the current window

NavigateToUrl ( string url ) : void

Navigates the current browser window to the specified URL

This method records the operation to the log using Logger

Méthodes protégées

Méthode Description
Activate ( ) : void

Private Methods

Méthode Description
IDOMRoot ( ) : void

Method Details

Activate() protected méthode

protected Activate ( ) : void
Résultat void

BrowserWindow() public méthode

Initializes the BrowserWindow given the specified browser, window handle, and a description
public BrowserWindow ( Browser browser, string windowHandle, string description ) : OpenQA.Selenium
browser Browser The browser object that this window belongs to
windowHandle string The handle of the browser window as returned from or
description string The description of the window, as you want to appear in the log
Résultat OpenQA.Selenium

Close() public méthode

Closes the current window
public Close ( ) : void
Résultat void

NavigateToUrl() public méthode

Navigates the current browser window to the specified URL
This method records the operation to the log using Logger
public NavigateToUrl ( string url ) : void
url string The URL to navigate to
Résultat void