public class FireFoxDriverWrapper extends org.openqa.selenium.firefox.FirefoxDriver implements IDriverWrapper, ISeleniumArchivator
org.openqa.selenium.firefox.FirefoxDriver.LazyCommandExecutor, org.openqa.selenium.firefox.FirefoxDriver.SystemPropertyorg.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 |
|---|
FireFoxDriverWrapper(org.openqa.selenium.remote.DesiredCapabilities capabilities,
ProxyInfo proxyInfo,
DriverInfo driverInfo) |
FireFoxDriverWrapper(ProxyInfo proxyInfo,
DriverInfo driverInfo) |
FireFoxDriverWrapper(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() |
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
|
getScreenshotAs, kill, manage, setFileDetectorclose, 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, getSessionId, getTitle, getW3CStandardComplianceLevel, getWindowHandle, getWindowHandles, navigate, quit, setErrorHandler, setLogLevel, switchTo, toStringpublic FireFoxDriverWrapper(ProxyInfo proxyInfo, DriverInfo driverInfo)
public FireFoxDriverWrapper(org.openqa.selenium.remote.DesiredCapabilities capabilities,
ProxyInfo proxyInfo,
DriverInfo driverInfo)
public FireFoxDriverWrapper(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 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