Class FirefoxDriverService

  • Direct Known Subclasses:
    GeckoDriverService

    public abstract class FirefoxDriverService
    extends org.openqa.selenium.remote.service.DriverService
    • Field Summary

      • Fields inherited from class org.openqa.selenium.remote.service.DriverService

        DEFAULT_TIMEOUT, process
    • Constructor Summary

      Constructors 
      Constructor Description
      FirefoxDriverService​(java.io.File executable, int port, java.time.Duration timeout, java.util.List<java.lang.String> args, java.util.Map<java.lang.String,​java.lang.String> environment)  
    • Method Summary

      • Methods inherited from class org.openqa.selenium.remote.service.DriverService

        checkExecutable, findExecutable, getArgs, getEnvironment, getOutputStream, getTimeout, getUrl, getUrl, hasShutdownEndpoint, isRunning, sendOutputTo, start, stop, waitUntilAvailable
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FirefoxDriverService

        public FirefoxDriverService​(java.io.File executable,
                                    int port,
                                    java.time.Duration timeout,
                                    java.util.List<java.lang.String> args,
                                    java.util.Map<java.lang.String,​java.lang.String> environment)
                             throws java.io.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:
        java.io.IOException - If an I/O error occurs.