C# Class TestAutomationEssentials.Selenium.BrowserWindow

Represents a browser window
Inheritance: ElementsContainer, IDOMRoot
ファイルを表示 Open project: arnonax/TestEssentials Class Usage Examples

Public Methods

Method 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

Protected Methods

Method Description
Activate ( ) : void

Private Methods

Method Description
IDOMRoot ( ) : void

Method Details

Activate() protected method

protected Activate ( ) : void
return void

BrowserWindow() public method

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
return OpenQA.Selenium

Close() public method

Closes the current window
public Close ( ) : void
return void

NavigateToUrl() public method

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
return void