public class FirefoxDriver extends AbstractRealBrowserDriver
AbstractRealBrowserDriver.BrowserTypebrowserType, webDriver| Modifier | Constructor and Description |
|---|---|
protected |
FirefoxDriver(String url)
To get FirefoxDriver instance use UiDriver.getFirefoxDriver()
|
protected |
FirefoxDriver(String url,
String browserPath)
To get FirefoxDriver instance use UiDriver.getFirefoxDriver()
|
protected |
FirefoxDriver(String url,
String browserPath,
String remoteSeleniumURL)
To get FirefoxDriver instance use UiDriver.getFirefoxDriver()
|
| Modifier and Type | Method and Description |
|---|---|
String |
getProfileDirectory() |
String |
getProfileName() |
void |
setProfileDirectory(String profileDirectory) |
void |
setProfileName(String profileName)
Set profile name
|
addExpectedPopup, clearExpectedPopups, containsExpectedPopup, getHtmlEngine, getInternalObject, handleExpectedPopups, start, stop, waitForPageLoadedgetChromeDriver, getChromeDriver, getCustomDriver, getEdgeDriver, getEdgeDriver, getFirefoxDriver, getFirefoxDriver, getFirefoxDriver, getHiddenBrowserDriver, getHiddenBrowserDriver, getInternetExplorerDriver, getInternetExplorerDriver, getMobileDriver, getMobileDriver, getPhantomJSDriver, getRobotDriver, getSafariDriver, getSafariDriver, getSwingDriver, getSwingDriver, getSwingDriver, getSwingDriverprotected FirefoxDriver(String url)
url - the target application URLprotected FirefoxDriver(String url, String browserPath)
url - the target application URLbrowserPath - the browser start path or the remote selenium hub URL (eg. http://10.11.12.13:4444/wd/hub/)protected FirefoxDriver(String url, String browserPath, String remoteSeleniumURL)
url - the target application URLbrowserPath - the browser start pathremoteSeleniumURL - the remote selenium hub URL (eg. http://10.11.12.13:4444/wd/hub/)public void setProfileDirectory(String profileDirectory)
profileDirectory - Firefox profile directory (absolute path)public String getProfileDirectory()
public void setProfileName(String profileName)
NOTE: If there is a problem sending a profile to a remote Selenium hub
try to specify the profile name in the selenium hub start command:
java -jar selenium-server-standalone.jar -Dwebdriver.firefox.profile="profile name"
profileName - Firefox profile namepublic String getProfileName()
Copyright © 2017 Axway Software. All rights reserved.