메소드 | 설명 | |
---|---|---|
Close ( ) : void |
Closes the Browser.
|
|
Dispose ( ) : void |
Disposes of all unmanaged instances of InternetExplorerDriver.
|
|
ExecuteScript ( string script ) : object |
Executes JavaScript in the context of the currently selected frame or window. The ExecuteScriptmethod executes JavaScript in the context of the currently selected frame or window. This means that "document" will refer to the current document. If the script has a return value, then the following steps will be taken: Arguments must be a number (which will be converted to a System.Int64), a System.Boolean, a System.String or a IWebElement. An exception will be thrown if the arguments do not meet these criteria. The arguments will be made available to the JavaScript via the "arguments" magic variable, as if the function were called via "Function.apply" |
|
FindElement ( By by ) : IWebElement |
Finds the first element in the page that matches the By object.
|
|
FindElements ( By by ) : ReadOnlyCollection |
Finds the elements on the page by using the By object and returns a ReadOnlyCollection of the Elements on the page.
|
|
GetScreenshot ( ) : Screenshot |
Gets a Screenshot object representing the image of the page on the screen.
|
|
GetWindowHandle ( ) : string |
Returns the Name of Window that the driver is working in.
|
|
GetWindowHandles ( ) : ReadOnlyCollection |
Method for returning a collection of WindowHandles that the driver has access to.
|
|
InternetExplorerDriver ( ) : System |
Initializes a new instance of the InternetExplorerDriver class.
|
|
Manage ( ) : IOptions |
Method For getting an object to set the Speed.
|
|
Navigate ( ) : INavigation |
Method to allow you to Navigate with WebDriver.
|
|
Quit ( ) : void |
Close the Browser and Dispose of WebDriver.
|
|
SwitchTo ( ) : ITargetLocator |
Method to give you access to switch frames and windows.
|
메소드 | 설명 | |
---|---|---|
ExtractReturnValue ( |
||
GetUnderlayingHandle ( ) : SafeInternetExplorerDriverHandle |
Get the driver handle.
|
|
PopulateArguments ( SafeScriptArgsHandle scriptArgs, object args ) : WebDriverResult | ||
WaitForLoadToComplete ( ) : void |
Wait for the load to complete.
|
public ExecuteScript ( string script ) : object | ||
script | string | The JavaScript code to execute. |
리턴 | object |
public FindElement ( By by ) : IWebElement | ||
by | By | By mechanism for finding the element. |
리턴 | IWebElement |
public FindElements ( By by ) : ReadOnlyCollection |
||
by | By | By mechanism for finding the element. |
리턴 | ReadOnlyCollection |