Class SeleniumRemoteWebDriver
java.lang.Object
org.openqa.selenium.remote.RemoteWebDriver
com.onenetwork.platform.tools.test.ui.SeleniumRemoteWebDriver
- All Implemented Interfaces:
org.openqa.selenium.HasCapabilities
,org.openqa.selenium.interactions.HasInputDevices
,org.openqa.selenium.interactions.Interactive
,org.openqa.selenium.internal.FindsByClassName
,org.openqa.selenium.internal.FindsByCssSelector
,org.openqa.selenium.internal.FindsById
,org.openqa.selenium.internal.FindsByLinkText
,org.openqa.selenium.internal.FindsByName
,org.openqa.selenium.internal.FindsByTagName
,org.openqa.selenium.internal.FindsByXPath
,org.openqa.selenium.JavascriptExecutor
,org.openqa.selenium.SearchContext
,org.openqa.selenium.TakesScreenshot
,org.openqa.selenium.WebDriver
public class SeleniumRemoteWebDriver
extends org.openqa.selenium.remote.RemoteWebDriver
implements org.openqa.selenium.TakesScreenshot
Custom implementation for RemoteWebDriver
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openqa.selenium.remote.RemoteWebDriver
org.openqa.selenium.remote.RemoteWebDriver.RemoteTargetLocator, org.openqa.selenium.remote.RemoteWebDriver.RemoteWebDriverOptions, org.openqa.selenium.remote.RemoteWebDriver.When
Nested classes/interfaces inherited from interface org.openqa.selenium.WebDriver
org.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 Summary
Constructors Constructor Description SeleniumRemoteWebDriver(java.net.URL url, org.openqa.selenium.remote.DesiredCapabilities dc)
-
Method Summary
Modifier and Type Method Description org.json.JSONObject
getNodeDetails()
<X> X
getScreenshotAs(org.openqa.selenium.OutputType<X> target)
void
kill()
Methods inherited from class org.openqa.selenium.remote.RemoteWebDriver
builder, 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, getSessionId, getTitle, getWindowHandle, getWindowHandles, log, manage, navigate, perform, quit, resetInputState, setCommandExecutor, setElementConverter, setErrorHandler, setFileDetector, setFoundBy, setLogLevel, setSessionId, startSession, switchTo, toString
-
Constructor Details
-
SeleniumRemoteWebDriver
public SeleniumRemoteWebDriver(java.net.URL url, org.openqa.selenium.remote.DesiredCapabilities dc)
-
-
Method Details
-
getNodeDetails
public org.json.JSONObject getNodeDetails()- Returns:
- the nodeDetails on which current driver is running. Includes information such as Node IP, Browser Name and Browser Version
-
getScreenshotAs
public <X> X getScreenshotAs(org.openqa.selenium.OutputType<X> target) throws org.openqa.selenium.WebDriverException- Specified by:
getScreenshotAs
in interfaceorg.openqa.selenium.TakesScreenshot
- Overrides:
getScreenshotAs
in classorg.openqa.selenium.remote.RemoteWebDriver
- Throws:
org.openqa.selenium.WebDriverException
- See Also:
TakesScreenshot.getScreenshotAs(org.openqa.selenium.OutputType)
-
kill
public void kill()- See Also:
org.openqa.selenium.internal.Killable#kill()
-