Class FirefoxDriverService

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Direct Known Subclasses:
    GeckoDriverService

    public abstract class FirefoxDriverService
    extends DriverService
    • 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.