C# 클래스 OpenQA.Selenium.Support.Events.EventFiringWebDriver.EventFiringTargetLocator

Provides a mechanism for finding elements on the page with locators.
상속: ITargetLocator
파일 보기 프로젝트 열기: asynchrony/Selenium2

공개 메소드들

메소드 설명
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

메소드 상세

ActiveElement() 공개 메소드

Finds the active element on the page and returns it
public ActiveElement ( ) : IWebElement
리턴 IWebElement

Alert() 공개 메소드

Switches to the currently active modal dialog for this particular driver instance.
public Alert ( ) : IAlert
리턴 IAlert

DefaultContent() 공개 메소드

Change the active frame to the default
public DefaultContent ( ) : IWebDriver
리턴 IWebDriver

EventFiringTargetLocator() 공개 메소드

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

Frame() 공개 메소드

Move to a frame element.
public Frame ( IWebElement frameElement ) : IWebDriver
frameElement IWebElement a previously found FRAME or IFRAME element.
리턴 IWebDriver

Frame() 공개 메소드

Move to a different frame using its index
public Frame ( int frameIndex ) : IWebDriver
frameIndex int The index of the
리턴 IWebDriver

Frame() 공개 메소드

Move to different frame using its name
public Frame ( string frameName ) : IWebDriver
frameName string name of the frame
리턴 IWebDriver

Window() 공개 메소드

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
리턴 IWebDriver