C# 클래스 OpenQA.Selenium.Chrome.ChromeDriver.ChromeTargetLocator

Provides a mechanism to find targets on the page
상속: ITargetLocator
파일 보기 프로젝트 열기: epall/selenium

공개 메소드들

메소드 설명
ActiveElement ( ) : IWebElement

Finds the active element on the page

ChromeTargetLocator ( ChromeDriver instance ) : System

Initializes a new instance of the ChromeTargetLocator class

DefaultContent ( ) : IWebDriver

Finds the default content on the page

Execute ( DriverCommand command ) : ChromeResponse

Execute commands on the browser

Frame ( int frameIndex ) : IWebDriver

Switch to a frame

Frame ( string frameName ) : IWebDriver

Switch to a frame

Window ( string windowName ) : IWebDriver

Switch to a window by name

메소드 상세

ActiveElement() 공개 메소드

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

ChromeTargetLocator() 공개 메소드

Initializes a new instance of the ChromeTargetLocator class
public ChromeTargetLocator ( ChromeDriver instance ) : System
instance ChromeDriver Driver currently in use
리턴 System

DefaultContent() 공개 메소드

Finds the default content on the page
public DefaultContent ( ) : IWebDriver
리턴 IWebDriver

Execute() 공개 메소드

Execute commands on the browser
public Execute ( DriverCommand command ) : ChromeResponse
command OpenQA.Selenium.Remote.DriverCommand Command to be executed
리턴 ChromeResponse

Frame() 공개 메소드

Switch to a frame
public Frame ( int frameIndex ) : IWebDriver
frameIndex int Name of the frame you want to switch to
리턴 IWebDriver

Frame() 공개 메소드

Switch to a frame
public Frame ( string frameName ) : IWebDriver
frameName string Name of the frame you want to switch to
리턴 IWebDriver

Window() 공개 메소드

Switch to a window by name
public Window ( string windowName ) : IWebDriver
windowName string Name of the window
리턴 IWebDriver