C# Class OpenQA.Selenium.Support.Events.EventFiringWebDriver.EventFiringTargetLocator

Provides a mechanism for finding elements on the page with locators.
Inheritance: ITargetLocator
Afficher le fichier Open project: asynchrony/Selenium2

Méthodes publiques

Méthode Description
ActiveElement ( ) : IWebElement

Finds the active element on the page and returns it

Alert ( ) : IAlert

Switches to the currently active modal dialog for this particular driver instance.

DefaultContent ( ) : IWebDriver

Change the active frame to the default

EventFiringTargetLocator ( EventFiringWebDriver driver ) : System

Initializes a new instance of the EventFiringTargetLocator class

Frame ( IWebElement frameElement ) : IWebDriver

Move to a frame element.

Frame ( int frameIndex ) : IWebDriver

Move to a different frame using its index

Frame ( string frameName ) : IWebDriver

Move to different frame using its name

Window ( string windowName ) : IWebDriver

Change to the Window by passing in the name

Method Details

ActiveElement() public méthode

Finds the active element on the page and returns it
public ActiveElement ( ) : IWebElement
Résultat IWebElement

Alert() public méthode

Switches to the currently active modal dialog for this particular driver instance.
public Alert ( ) : IAlert
Résultat IAlert

DefaultContent() public méthode

Change the active frame to the default
public DefaultContent ( ) : IWebDriver
Résultat IWebDriver

EventFiringTargetLocator() public méthode

Initializes a new instance of the EventFiringTargetLocator class
public EventFiringTargetLocator ( EventFiringWebDriver driver ) : System
driver EventFiringWebDriver The driver that is currently in use
Résultat System

Frame() public méthode

Move to a frame element.
public Frame ( IWebElement frameElement ) : IWebDriver
frameElement IWebElement a previously found FRAME or IFRAME element.
Résultat IWebDriver

Frame() public méthode

Move to a different frame using its index
public Frame ( int frameIndex ) : IWebDriver
frameIndex int The index of the
Résultat IWebDriver

Frame() public méthode

Move to different frame using its name
public Frame ( string frameName ) : IWebDriver
frameName string name of the frame
Résultat IWebDriver

Window() public méthode

Change to the Window by passing in the name
public Window ( string windowName ) : IWebDriver
windowName string name of the window that you wish to move to
Résultat IWebDriver