public class RemoteDriverWrapper extends org.openqa.selenium.remote.RemoteWebDriver implements IDriverWrapper, ISeleniumArchivator
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 |
|---|
RemoteDriverWrapper(ProxyInfo proxyInfo,
DriverInfo driverInfo) |
RemoteDriverWrapper(java.net.URL url,
org.openqa.selenium.remote.DesiredCapabilities capabilities,
ProxyInfo proxyInfo,
DriverInfo driverInfo) |
RemoteDriverWrapper(java.net.URL url,
org.openqa.selenium.remote.DesiredCapabilities capabilities,
ProxyInfo proxyInfo,
DriverInfo driverInfo,
DriverTimeStatistic timeStatistic) |
RemoteDriverWrapper(org.openqa.selenium.WebDriver driver,
ProxyInfo proxyInfo,
DriverInfo driverInfo) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
closeAllAnotherWindows()
Close all windows except current
|
void |
closeAllWindows()
Closes all windows
|
byte[] |
getCompletePageAsZip()
Returns Zip of a current pages with all the JS, IMG, CSS links
|
byte[] |
getCompletePagesWithPaginationAsZip(java.lang.String target,
int pageCount)
Returns Zip of a current pages and next pages with all the JS, IMG, CSS links
|
org.openqa.selenium.WebDriver |
getDriver() |
DriverInfo |
getDriverInfo() |
java.lang.String |
getInnerHtml() |
java.lang.String |
getSource() |
DriverTimeStatistic |
getTimeStatistic() |
java.lang.String |
openLinkInNewWindow(org.openqa.selenium.By by)
Click on link and open this link in a new browser's tab.
|
java.lang.String |
openNewWindow()
Open a new browser's tab.
|
void |
setInnerHtml(java.lang.String innerHtml) |
java.lang.String |
switchToLastWindow()
Switching focus to the last opened window
|
java.lang.String |
switchToNextWindow()
Switching focus to the next opened window after current window
|
java.lang.String |
switchToPrevWindow()
Switching focus to the previously opened window before current window
|
java.lang.String |
switchToRootWindow()
Switching focus to the first opened window
|
close, executeAsyncScript, executeScript, findElement, findElementByClassName, findElementByCssSelector, findElementById, findElementByLinkText, findElementByName, findElementByPartialLinkText, findElementByTagName, findElementByXPath, findElements, findElementsByClassName, findElementsByCssSelector, findElementsById, findElementsByLinkText, findElementsByName, findElementsByPartialLinkText, findElementsByTagName, findElementsByXPath, get, getCapabilities, getCommandExecutor, getCurrentUrl, getErrorHandler, getFileDetector, getKeyboard, getMouse, getPageSource, getScreenshotAs, getSessionId, getTitle, getW3CStandardComplianceLevel, getWindowHandle, getWindowHandles, manage, navigate, quit, setErrorHandler, setFileDetector, setLogLevel, switchTo, toStringpublic RemoteDriverWrapper(ProxyInfo proxyInfo, DriverInfo driverInfo)
public RemoteDriverWrapper(java.net.URL url,
org.openqa.selenium.remote.DesiredCapabilities capabilities,
ProxyInfo proxyInfo,
DriverInfo driverInfo,
DriverTimeStatistic timeStatistic)
public RemoteDriverWrapper(java.net.URL url,
org.openqa.selenium.remote.DesiredCapabilities capabilities,
ProxyInfo proxyInfo,
DriverInfo driverInfo)
public RemoteDriverWrapper(org.openqa.selenium.WebDriver driver,
ProxyInfo proxyInfo,
DriverInfo driverInfo)
public java.lang.String getSource()
getSource in interface IDriverWrapperpublic org.openqa.selenium.WebDriver getDriver()
getDriver in interface IDriverWrapperpublic DriverTimeStatistic getTimeStatistic()
public byte[] getCompletePageAsZip()
ISeleniumArchivatorgetCompletePageAsZip in interface ISeleniumArchivatorpublic byte[] getCompletePagesWithPaginationAsZip(java.lang.String target,
int pageCount)
ISeleniumArchivatorgetCompletePagesWithPaginationAsZip in interface ISeleniumArchivatorpublic java.lang.String getInnerHtml()
getInnerHtml in interface IDriverWrapperpublic void setInnerHtml(java.lang.String innerHtml)
setInnerHtml in interface IDriverWrapperpublic DriverInfo getDriverInfo()
getDriverInfo in interface IDriverWrapperpublic java.lang.String switchToRootWindow()
IWindowNavigatorswitchToRootWindow in interface IWindowNavigatorpublic java.lang.String switchToLastWindow()
IWindowNavigatorswitchToLastWindow in interface IWindowNavigatorpublic java.lang.String switchToPrevWindow()
IWindowNavigatorswitchToPrevWindow in interface IWindowNavigatorpublic java.lang.String switchToNextWindow()
IWindowNavigatorswitchToNextWindow in interface IWindowNavigatorpublic java.lang.String openNewWindow()
IWindowNavigatoropenNewWindow in interface IWindowNavigatorpublic java.lang.String openLinkInNewWindow(org.openqa.selenium.By by)
IWindowNavigatoropenLinkInNewWindow in interface IWindowNavigatorby - - link descriptorpublic java.lang.String closeAllAnotherWindows()
IWindowNavigatorcloseAllAnotherWindows in interface IWindowNavigatorpublic void closeAllWindows()
IWindowNavigatorcloseAllWindows in interface IWindowNavigator