public abstract class AbstractRealBrowserDriver extends AbstractHtmlDriver
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractRealBrowserDriver.BrowserType |
| Modifier and Type | Field and Description |
|---|---|
protected AbstractRealBrowserDriver.BrowserType |
browserType |
protected org.openqa.selenium.WebDriver |
webDriver |
| Constructor and Description |
|---|
AbstractRealBrowserDriver(AbstractRealBrowserDriver.BrowserType browserType,
String url,
String browserPath) |
AbstractRealBrowserDriver(AbstractRealBrowserDriver.BrowserType browserType,
String url,
String browserPath,
String remoteSeleniumURL) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExpectedPopup(IExpectedPopup expectedPopup)
Note: For internal use only
|
void |
clearExpectedPopups()
Note: For internal use only
|
boolean |
containsExpectedPopup(IExpectedPopup expectedPopup)
Note: For internal use only
|
RealHtmlEngine |
getHtmlEngine() |
Object |
getInternalObject(String objectName)
NOTE: This method should not be used directly into the test scripts.
|
void |
handleExpectedPopups()
Note: For internal use only
|
void |
start()
start the driver
|
void |
stop()
stop the driver
|
void |
waitForPageLoaded(org.openqa.selenium.WebDriver driver,
int timeoutInSeconds) |
getChromeDriver, getChromeDriver, getCustomDriver, getEdgeDriver, getEdgeDriver, getFirefoxDriver, getFirefoxDriver, getFirefoxDriver, getHiddenBrowserDriver, getHiddenBrowserDriver, getInternetExplorerDriver, getInternetExplorerDriver, getMobileDriver, getMobileDriver, getPhantomJSDriver, getRobotDriver, getSafariDriver, getSafariDriver, getSwingDriver, getSwingDriver, getSwingDriver, getSwingDriverprotected AbstractRealBrowserDriver.BrowserType browserType
protected org.openqa.selenium.WebDriver webDriver
public AbstractRealBrowserDriver(AbstractRealBrowserDriver.BrowserType browserType, String url, String browserPath)
url - the target application URLbrowserStartCommand - command for starting a real UI browser or the remote selenium hub URL (eg. http://10.11.12.13:4444/wd/hub/)public AbstractRealBrowserDriver(AbstractRealBrowserDriver.BrowserType browserType, String url, String browserPath, String remoteSeleniumURL)
url - the target application URLbrowserStartCommand - command for starting a real UI browserremoteSeleniumURL - the remote selenium hub URL (eg. http://10.11.12.13:4444/wd/hub/)public void start()
UiDriverpublic void waitForPageLoaded(org.openqa.selenium.WebDriver driver,
int timeoutInSeconds)
public void stop()
UiDriverpublic RealHtmlEngine getHtmlEngine()
getHtmlEngine in class AbstractHtmlDriverpublic Object getInternalObject(String objectName)
getInternalObject in class AbstractHtmlDriverpublic void addExpectedPopup(IExpectedPopup expectedPopup)
public boolean containsExpectedPopup(IExpectedPopup expectedPopup)
public void clearExpectedPopups()
public void handleExpectedPopups()
Copyright © 2017 Axway Software. All rights reserved.