C# Класс OpenQA.Selenium.IE.InternetExplorerDriver.InternetExplorerTargetLocator

Provides a mechanism for finding elements on the page with locators.
Наследование: ITargetLocator
Показать файл Открыть проект

Открытые методы

Метод Описание
ActiveElement ( ) : IWebElement

Finds the currently active element.

DefaultContent ( ) : IWebDriver

Move the driver back to the default.

Frame ( int frameIndex ) : IWebDriver

Move to a different frame using its index. Indexes are Zero based and their may be issues if a frame is named as an integer.

Frame ( string frameName ) : IWebDriver

Move to different frame using its name.

InternetExplorerTargetLocator ( InternetExplorerDriver driver ) : System

Initializes a new instance of the InternetExplorerTargetLocator class.

Window ( string windowName ) : IWebDriver

Change to the Window by passing in the name.

Описание методов

ActiveElement() публичный Метод

Finds the currently active element.
public ActiveElement ( ) : IWebElement
Результат IWebElement

DefaultContent() публичный Метод

Move the driver back to the default.
public DefaultContent ( ) : IWebDriver
Результат IWebDriver

Frame() публичный Метод

Move to a different frame using its index. Indexes are Zero based and their may be issues if a frame is named as an integer.
public Frame ( int frameIndex ) : IWebDriver
frameIndex int The index of the frame.
Результат IWebDriver

Frame() публичный Метод

Move to different frame using its name.
public Frame ( string frameName ) : IWebDriver
frameName string name of the frame.
Результат IWebDriver

InternetExplorerTargetLocator() публичный Метод

Initializes a new instance of the InternetExplorerTargetLocator class.
public InternetExplorerTargetLocator ( InternetExplorerDriver driver ) : System
driver InternetExplorerDriver The driver that is currently in use.
Результат System

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