public class FirefoxDriver extends RemoteWebDriver implements org.openqa.selenium.internal.Killable
RemoteWebDriver.RemoteTargetLocator, RemoteWebDriver.RemoteWebDriverOptions, RemoteWebDriver.When
org.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 String |
BINARY |
static boolean |
DEFAULT_ENABLE_NATIVE_EVENTS |
static String |
PROFILE |
static boolean |
USE_MARIONETTE |
Constructor and Description |
---|
FirefoxDriver() |
FirefoxDriver(org.openqa.selenium.Capabilities desiredCapabilities) |
FirefoxDriver(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) |
Modifier and Type | Method and Description |
---|---|
protected ExtensionConnection |
connectTo(FirefoxBinary binary,
FirefoxProfile profile,
String host) |
<X> X |
getScreenshotAs(org.openqa.selenium.OutputType<X> target) |
void |
kill()
Attempt to forcibly kill this Killable at the OS level.
|
org.openqa.selenium.WebDriver.Options |
manage() |
protected static org.openqa.selenium.internal.Lock |
obtainLock(FirefoxProfile profile) |
void |
setFileDetector(FileDetector detector) |
protected void |
startClient() |
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, getRemoteStatus, getSessionId, getTitle, getWindowHandle, getWindowHandles, log, navigate, quit, setCommandExecutor, setElementConverter, setErrorHandler, setFoundBy, setLogLevel, setSessionId, startSession, startSession, switchTo, toString
public static final String BINARY
public static final String PROFILE
public static final boolean DEFAULT_ENABLE_NATIVE_EVENTS
public static final boolean USE_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 void setFileDetector(FileDetector detector)
setFileDetector
in class RemoteWebDriver
public void kill()
kill
in interface org.openqa.selenium.internal.Killable
public org.openqa.selenium.WebDriver.Options manage()
manage
in interface org.openqa.selenium.WebDriver
manage
in class RemoteWebDriver
protected void startClient()
startClient
in class RemoteWebDriver
protected ExtensionConnection connectTo(FirefoxBinary binary, FirefoxProfile profile, String host)
protected static org.openqa.selenium.internal.Lock obtainLock(FirefoxProfile profile)
protected void stopClient()
stopClient
in class RemoteWebDriver
public <X> X getScreenshotAs(org.openqa.selenium.OutputType<X> target)
getScreenshotAs
in interface org.openqa.selenium.TakesScreenshot
getScreenshotAs
in class RemoteWebDriver
Copyright © 2014. All rights reserved.