public class WebDroneRemoteWebDriver
extends org.openqa.selenium.remote.RemoteWebDriver
implements org.openqa.selenium.TakesScreenshot
RemoteWebDriver that allows us to extend the remote web driver
with added functionalities such as screen grab and ability to load files
from test machine to the gridorg.openqa.selenium.remote.RemoteWebDriver.RemoteTargetLocator, org.openqa.selenium.remote.RemoteWebDriver.RemoteWebDriverOptions, org.openqa.selenium.remote.RemoteWebDriver.Whenorg.openqa.selenium.WebDriver.ImeHandler, org.openqa.selenium.WebDriver.Navigation, org.openqa.selenium.WebDriver.Options, org.openqa.selenium.WebDriver.TargetLocator, org.openqa.selenium.WebDriver.Timeouts, org.openqa.selenium.WebDriver.Window| Constructor and Description |
|---|
WebDroneRemoteWebDriver(URL remoteAddress,
org.openqa.selenium.Capabilities desiredCapabilities) |
WebDroneRemoteWebDriver(URL remoteAddress,
org.openqa.selenium.Capabilities desiredCapabilities,
org.openqa.selenium.remote.FileDetector fd)
Constructor that instantiate the
RemoteWebDriver
with a flag to indicate files will be loaded from the client. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize()
Clean up process once the driver is not in use.
|
<X> X |
getScreenshotAs(org.openqa.selenium.OutputType<X> target) |
close, execute, execute, executeAsyncScript, executeScript, findElement, findElement, findElementByClassName, findElementByCssSelector, findElementById, findElementByLinkText, findElementByName, findElementByPartialLinkText, findElementByTagName, findElementByXPath, findElements, findElements, findElementsByClassName, findElementsByCssSelector, findElementsById, findElementsByLinkText, findElementsByName, findElementsByPartialLinkText, findElementsByTagName, findElementsByXPath, get, getCapabilities, getCommandExecutor, getCurrentUrl, getElementConverter, getErrorHandler, getExecuteMethod, getFileDetector, getKeyboard, getMouse, getPageSource, getRemoteStatus, getSessionId, getTitle, getWindowHandle, getWindowHandles, log, manage, navigate, quit, setCommandExecutor, setElementConverter, setErrorHandler, setFileDetector, setFoundBy, setLogLevel, setSessionId, startClient, startSession, startSession, stopClient, switchTo, toStringpublic WebDroneRemoteWebDriver(URL remoteAddress, org.openqa.selenium.Capabilities desiredCapabilities)
public WebDroneRemoteWebDriver(URL remoteAddress, org.openqa.selenium.Capabilities desiredCapabilities, org.openqa.selenium.remote.FileDetector fd)
RemoteWebDriver
with a flag to indicate files will be loaded from the client.remoteAddress - the remote grid urldesiredCapabilities - the browser type and capabilityfd - FileDetector detects fileCopyright © 2015. All rights reserved.