Class SmartClientFirefoxDriver

java.lang.Object
com.isomorphic.webdriver.SmartClientWebDriver
com.isomorphic.webdriver.SmartClientFirefoxDriver
All Implemented Interfaces:
org.openqa.selenium.interactions.HasInputDevices, org.openqa.selenium.interactions.Interactive, org.openqa.selenium.JavascriptExecutor, org.openqa.selenium.SearchContext, org.openqa.selenium.TakesScreenshot, org.openqa.selenium.WebDriver

public class SmartClientFirefoxDriver extends SmartClientWebDriver
Implementation of SmartClient specific WebDriver using FireFox. Activates native events to ensure that smartclient is driven appropriately.
  • Constructor Details

    • SmartClientFirefoxDriver

      public SmartClientFirefoxDriver()
      Default constructor. This configures the driver in legacy mode (for older Firefox versions) and the default profile. (In future releases, the default constructor may no longer enable legacy mode.)
    • SmartClientFirefoxDriver

      @Deprecated public SmartClientFirefoxDriver(org.openqa.selenium.Capabilities capabilities)
      Constructor taking a specified set of driver capabilities. This configures the driver in legacy mode (for older Firefox versions).
      Parameters:
      capabilities - desired driver capabilities
    • SmartClientFirefoxDriver

      @Deprecated public SmartClientFirefoxDriver(org.openqa.selenium.firefox.FirefoxProfile profile)
      Constructor taking a profile. This configures the driver in legacy mode (for older Firefox versions).
      Parameters:
      profile - custom profile
    • SmartClientFirefoxDriver

      @Deprecated public SmartClientFirefoxDriver(org.openqa.selenium.firefox.FirefoxBinary binary)
      Constructor taking a binary reference. This configures the driver in legacy mode (for older Firefox versions) and the default profile. The binary reference allows you to specify a path to the Firefox executable - in case more than one version is installed. (For example, new FirefoxBinary(new File("/home/user/ff52esr/firefox")).)
      Parameters:
      binary - path-specific Firefox executable reference
    • SmartClientFirefoxDriver

      @Deprecated public SmartClientFirefoxDriver(org.openqa.selenium.firefox.FirefoxBinary binary, org.openqa.selenium.firefox.FirefoxProfile profile)
      Constructor taking a profile. This configures the driver in legacy mode (for older Firefox versions). The binary reference allows you to specify a path to the Firefox executable - in case more than one version is installed. (For example, new FirefoxBinary(new File("/home/user/ff52esr/firefox")).)
      Parameters:
      binary - path-specific Firefox executable reference
      profile - custom profile
    • SmartClientFirefoxDriver

      public SmartClientFirefoxDriver(org.openqa.selenium.firefox.FirefoxOptions options)
      Constructor taking a new Selenium v3 FirefoxOptions specification. Legacy mode (for older Firefox versions) is not enabled by default for this constructor.
      Parameters:
      options - custom options
    • SmartClientFirefoxDriver

      public SmartClientFirefoxDriver(org.openqa.selenium.firefox.GeckoDriverService service, org.openqa.selenium.firefox.FirefoxOptions options)
      Constructor taking a caller-built geckodriver service and FirefoxOptions. Use it when the geckodriver control port has to be a port you chose, typically one reserved for the purpose in an environment that runs several browsers and servers side by side; build the service with new GeckoDriverService.Builder().usingPort(port).build(). The service drives Firefox in W3C mode, so legacy mode must not be requested in the options.
      Parameters:
      service - geckodriver service listening on the port you chose
      options - custom options; may be null
    • SmartClientFirefoxDriver

      public SmartClientFirefoxDriver(boolean legacyMode)
      Alternative to the default constructor which allows direct control over whether the driver is run in legacy mode (for older Firefox versions).
      Parameters:
      legacyMode - whether to run driver in legacy mode