Class FirefoxDriverService

java.lang.Object
org.openqa.selenium.remote.service.DriverService
org.openqa.selenium.firefox.FirefoxDriverService
All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
GeckoDriverService

public abstract class FirefoxDriverService extends DriverService
  • Constructor Details

    • FirefoxDriverService

      public FirefoxDriverService(File executable, int port, Duration timeout, List<String> args, Map<String,String> environment) throws IOException
      Parameters:
      executable - The GeckoDriver executable.
      port - Which port to start the GeckoDriver on.
      timeout - Timeout waiting for driver server to start.
      args - The arguments to the launched server.
      environment - The environment for the launched server.
      Throws:
      IOException - If an I/O error occurs.