public class FirefoxDriver
extends org.openqa.selenium.remote.RemoteWebDriver
implements org.openqa.selenium.internal.Killable
| Type | Property and Description |
|---|---|
private static java.lang.Boolean |
forceMarionetteFromSystem |
| Modifier and Type | Class and Description |
|---|---|
static class |
FirefoxDriver.LazyCommandExecutor |
static class |
FirefoxDriver.SystemProperty |
org.openqa.selenium.remote.RemoteWebDriver.RemoteTargetLocator, org.openqa.selenium.remote.RemoteWebDriver.RemoteWebDriverOptions, 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| Modifier and Type | Field and Description |
|---|---|
static boolean |
ACCEPT_UNTRUSTED_CERTIFICATES
Deprecated.
|
static boolean |
ASSUME_UNTRUSTED_ISSUER
Deprecated.
|
protected FirefoxBinary |
binary |
static java.lang.String |
BINARY |
static java.lang.String |
MARIONETTE |
static java.lang.String |
PROFILE |
| Modifier | Constructor and Description |
|---|---|
|
FirefoxDriver() |
|
FirefoxDriver(org.openqa.selenium.Capabilities desiredCapabilities) |
|
FirefoxDriver(org.openqa.selenium.Capabilities desiredCapabilities,
org.openqa.selenium.Capabilities requiredCapabilities) |
private |
FirefoxDriver(org.openqa.selenium.remote.CommandExecutor executor,
org.openqa.selenium.Capabilities desiredCapabilities,
org.openqa.selenium.Capabilities requiredCapabilities) |
|
FirefoxDriver(FirefoxBinary binary,
FirefoxProfile profile) |
|
FirefoxDriver(FirefoxBinary binary,
FirefoxProfile profile,
org.openqa.selenium.Capabilities capabilities) |
|
FirefoxDriver(FirefoxBinary binary,
FirefoxProfile profile,
org.openqa.selenium.Capabilities desiredCapabilities,
org.openqa.selenium.Capabilities requiredCapabilities) |
|
FirefoxDriver(FirefoxProfile profile) |
|
FirefoxDriver(GeckoDriverService driverService) |
|
FirefoxDriver(GeckoDriverService driverService,
org.openqa.selenium.Capabilities desiredCapabilities) |
|
FirefoxDriver(GeckoDriverService driverService,
org.openqa.selenium.Capabilities desiredCapabilities,
org.openqa.selenium.Capabilities requiredCapabilities) |
| Modifier and Type | Method and Description |
|---|---|
private static org.openqa.selenium.Capabilities |
addProfileTo(org.openqa.selenium.Capabilities capabilities,
FirefoxProfile profile) |
protected ExtensionConnection |
connectTo(FirefoxBinary binary,
FirefoxProfile profile,
java.lang.String host) |
private static org.openqa.selenium.remote.CommandExecutor |
createCommandExecutor(org.openqa.selenium.Capabilities desiredCapabilities,
org.openqa.selenium.Capabilities requiredCapabilities,
FirefoxBinary binary,
FirefoxProfile profile) |
private static org.openqa.selenium.Capabilities |
dropCapabilities(org.openqa.selenium.Capabilities capabilities)
Drops capabilities that we shouldn't send over the wire.
|
private static FirefoxProfile |
extractProfile(org.openqa.selenium.Capabilities desiredCapabilities,
org.openqa.selenium.Capabilities requiredCapabilities) |
private static java.lang.Boolean |
forceMarionetteFromSystemProperty() |
private static FirefoxBinary |
getBinary(org.openqa.selenium.Capabilities capabilities) |
private static FirefoxProfile |
getProfile(FirefoxProfile profile) |
<X> X |
getScreenshotAs(org.openqa.selenium.OutputType<X> target) |
private static boolean |
isLegacy(org.openqa.selenium.Capabilities desiredCapabilities) |
void |
kill()
Attempt to forcibly kill this Killable at the OS level.
|
org.openqa.selenium.WebDriver.Options |
manage() |
protected org.openqa.selenium.internal.Lock |
obtainLock(FirefoxProfile profile) |
private static void |
populateProfile(FirefoxProfile profile,
org.openqa.selenium.Capabilities capabilities) |
private static FirefoxProfile |
prepareProfile(FirefoxProfile profile,
org.openqa.selenium.Capabilities desiredCapabilities,
org.openqa.selenium.Capabilities requiredCapabilities) |
void |
setFileDetector(org.openqa.selenium.remote.FileDetector detector) |
protected void |
startClient(org.openqa.selenium.Capabilities desiredCapabilities,
org.openqa.selenium.Capabilities requiredCapabilities) |
protected void |
stopClient() |
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, navigate, perform, quit, resetInputState, setCommandExecutor, setElementConverter, setErrorHandler, setFoundBy, setLogLevel, setSessionId, startClient, startSession, startSession, stopClient, switchTo, toStringprivate static java.lang.Boolean forceMarionetteFromSystemProperty
public static final java.lang.String BINARY
public static final java.lang.String PROFILE
public static final java.lang.String MARIONETTE
@Deprecated public static final boolean ACCEPT_UNTRUSTED_CERTIFICATES
@Deprecated public static final boolean ASSUME_UNTRUSTED_ISSUER
protected FirefoxBinary binary
public FirefoxDriver()
public FirefoxDriver(FirefoxProfile profile)
public FirefoxDriver(org.openqa.selenium.Capabilities desiredCapabilities)
public FirefoxDriver(org.openqa.selenium.Capabilities desiredCapabilities,
org.openqa.selenium.Capabilities requiredCapabilities)
public FirefoxDriver(FirefoxBinary binary, FirefoxProfile profile)
public FirefoxDriver(FirefoxBinary binary, FirefoxProfile profile, org.openqa.selenium.Capabilities capabilities)
public FirefoxDriver(FirefoxBinary binary, FirefoxProfile profile, org.openqa.selenium.Capabilities desiredCapabilities, org.openqa.selenium.Capabilities requiredCapabilities)
public FirefoxDriver(GeckoDriverService driverService)
public FirefoxDriver(GeckoDriverService driverService, org.openqa.selenium.Capabilities desiredCapabilities)
public FirefoxDriver(GeckoDriverService driverService, org.openqa.selenium.Capabilities desiredCapabilities, org.openqa.selenium.Capabilities requiredCapabilities)
private FirefoxDriver(org.openqa.selenium.remote.CommandExecutor executor,
org.openqa.selenium.Capabilities desiredCapabilities,
org.openqa.selenium.Capabilities requiredCapabilities)
private static FirefoxProfile prepareProfile(FirefoxProfile profile, org.openqa.selenium.Capabilities desiredCapabilities, org.openqa.selenium.Capabilities requiredCapabilities)
private static FirefoxProfile extractProfile(org.openqa.selenium.Capabilities desiredCapabilities, org.openqa.selenium.Capabilities requiredCapabilities)
private static org.openqa.selenium.Capabilities addProfileTo(org.openqa.selenium.Capabilities capabilities,
FirefoxProfile profile)
private static void populateProfile(FirefoxProfile profile, org.openqa.selenium.Capabilities capabilities)
private static FirefoxBinary getBinary(org.openqa.selenium.Capabilities capabilities)
private static org.openqa.selenium.remote.CommandExecutor createCommandExecutor(org.openqa.selenium.Capabilities desiredCapabilities,
org.openqa.selenium.Capabilities requiredCapabilities,
FirefoxBinary binary,
FirefoxProfile profile)
public void setFileDetector(org.openqa.selenium.remote.FileDetector detector)
setFileDetector in class org.openqa.selenium.remote.RemoteWebDriverpublic void kill()
kill in interface org.openqa.selenium.internal.Killablepublic org.openqa.selenium.WebDriver.Options manage()
manage in interface org.openqa.selenium.WebDrivermanage in class org.openqa.selenium.remote.RemoteWebDriverprivate static boolean isLegacy(org.openqa.selenium.Capabilities desiredCapabilities)
private static java.lang.Boolean forceMarionetteFromSystemProperty()
protected void startClient(org.openqa.selenium.Capabilities desiredCapabilities,
org.openqa.selenium.Capabilities requiredCapabilities)
startClient in class org.openqa.selenium.remote.RemoteWebDriverprivate static FirefoxProfile getProfile(FirefoxProfile profile)
protected ExtensionConnection connectTo(FirefoxBinary binary, FirefoxProfile profile, java.lang.String host)
protected org.openqa.selenium.internal.Lock obtainLock(FirefoxProfile profile)
protected void stopClient()
stopClient in class org.openqa.selenium.remote.RemoteWebDriverprivate static org.openqa.selenium.Capabilities dropCapabilities(org.openqa.selenium.Capabilities capabilities)
public <X> X getScreenshotAs(org.openqa.selenium.OutputType<X> target)
getScreenshotAs in interface org.openqa.selenium.TakesScreenshotgetScreenshotAs in class org.openqa.selenium.remote.RemoteWebDriver