Method | Description | |
---|---|---|
Close ( ) : void |
Close the current window, quitting the browser if it is the last window currently open.
|
|
Dispose ( ) : void |
Frees all managed and unmanaged resources used by this instance.
|
|
EventFiringWebDriver ( IWebDriver parentDriver ) : System |
Initializes a new instance of the EventFiringWebDriver class.
|
|
ExecuteAsyncScript ( string script ) : object |
Executes JavaScript asynchronously in the context of the currently selected frame or window.
|
|
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 |
Find the first IWebElement using the given method.
|
|
FindElements ( By by ) : ReadOnlyCollection |
Find all
|
|
GetScreenshot ( ) : Screenshot |
Gets a Screenshot object representing the image of the page on the screen.
|
|
Manage ( ) : IOptions |
Instructs the driver to change its settings.
|
|
Navigate ( ) : INavigation |
Instructs the driver to navigate the browser to another location.
|
|
Quit ( ) : void |
Quits this driver, closing every associated window.
|
|
SwitchTo ( ) : ITargetLocator |
Instructs the driver to send future commands to a different frame or window.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Frees all managed and, optionally, unmanaged resources used by this instance.
|
|
OnElementClicked ( OpenQA.Selenium.Support.Events.WebElementEventArgs e ) : void |
Raises the ElementClicked event.
|
|
OnElementClicking ( OpenQA.Selenium.Support.Events.WebElementEventArgs e ) : void |
Raises the ElementClicking event.
|
|
OnElementValueChanged ( OpenQA.Selenium.Support.Events.WebElementEventArgs e ) : void |
Raises the ElementValueChanged event.
|
|
OnElementValueChanging ( OpenQA.Selenium.Support.Events.WebElementEventArgs e ) : void |
Raises the ElementValueChanging event.
|
|
OnException ( OpenQA.Selenium.Support.Events.WebDriverExceptionEventArgs e ) : void |
Raises the ExceptionThrown event.
|
|
OnFindElementCompleted ( OpenQA.Selenium.Support.Events.FindElementEventArgs e ) : void |
Raises the FindElementCompleted event.
|
|
OnFindingElement ( OpenQA.Selenium.Support.Events.FindElementEventArgs e ) : void |
Raises the FindingElement event.
|
|
OnNavigated ( |
Raises the Navigated event.
|
|
OnNavigatedBack ( |
Raises the NavigatedBack event.
|
|
OnNavigatedForward ( |
Raises the NavigatedForward event.
|
|
OnNavigating ( |
Raises the Navigating event.
|
|
OnNavigatingBack ( |
Raises the NavigatingBack event.
|
|
OnNavigatingForward ( |
Raises the NavigatingForward event.
|
|
OnScriptExecuted ( OpenQA.Selenium.Support.Events.WebDriverScriptEventArgs e ) : void |
Raises the ScriptExecuted event.
|
|
OnScriptExecuting ( OpenQA.Selenium.Support.Events.WebDriverScriptEventArgs e ) : void |
Raises the ScriptExecuting event.
|
Method | Description | |
---|---|---|
UnwrapElementArguments ( object args ) : object[] | ||
WrapElement ( IWebElement underlyingElement ) : IWebElement |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
return | void |
public EventFiringWebDriver ( IWebDriver parentDriver ) : System | ||
parentDriver | IWebDriver | The driver to register events for. |
return | System |
public ExecuteAsyncScript ( string script ) : object | ||
script | string | The JavaScript code to execute. |
return | object |
public ExecuteScript ( string script ) : object | ||
script | string | The JavaScript code to execute. |
return | object |
public FindElement ( By by ) : IWebElement | ||
by | By | The locating mechanism to use. |
return | IWebElement |
public FindElements ( By by ) : ReadOnlyCollection |
||
by | By | The locating mechanism to use. |
return | ReadOnlyCollection |
protected OnElementClicked ( OpenQA.Selenium.Support.Events.WebElementEventArgs e ) : void | ||
e | OpenQA.Selenium.Support.Events.WebElementEventArgs | A |
return | void |
protected OnElementClicking ( OpenQA.Selenium.Support.Events.WebElementEventArgs e ) : void | ||
e | OpenQA.Selenium.Support.Events.WebElementEventArgs | A |
return | void |
protected OnElementValueChanged ( OpenQA.Selenium.Support.Events.WebElementEventArgs e ) : void | ||
e | OpenQA.Selenium.Support.Events.WebElementEventArgs | A |
return | void |
protected OnElementValueChanging ( OpenQA.Selenium.Support.Events.WebElementEventArgs e ) : void | ||
e | OpenQA.Selenium.Support.Events.WebElementEventArgs | A |
return | void |
protected OnException ( OpenQA.Selenium.Support.Events.WebDriverExceptionEventArgs e ) : void | ||
e | OpenQA.Selenium.Support.Events.WebDriverExceptionEventArgs | A |
return | void |
protected OnFindElementCompleted ( OpenQA.Selenium.Support.Events.FindElementEventArgs e ) : void | ||
e | OpenQA.Selenium.Support.Events.FindElementEventArgs | A |
return | void |
protected OnFindingElement ( OpenQA.Selenium.Support.Events.FindElementEventArgs e ) : void | ||
e | OpenQA.Selenium.Support.Events.FindElementEventArgs | A |
return | void |
protected OnNavigated ( |
||
e | A |
|
return | void |
protected OnNavigatedBack ( |
||
e | A |
|
return | void |
protected OnNavigatedForward ( |
||
e | A |
|
return | void |
protected OnNavigating ( |
||
e | A |
|
return | void |
protected OnNavigatingBack ( |
||
e | A |
|
return | void |
protected OnNavigatingForward ( |
||
e | A |
|
return | void |
protected OnScriptExecuted ( OpenQA.Selenium.Support.Events.WebDriverScriptEventArgs e ) : void | ||
e | OpenQA.Selenium.Support.Events.WebDriverScriptEventArgs | A |
return | void |
protected OnScriptExecuting ( OpenQA.Selenium.Support.Events.WebDriverScriptEventArgs e ) : void | ||
e | OpenQA.Selenium.Support.Events.WebDriverScriptEventArgs | A |
return | void |