Class FirefoxDriverService

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

    public abstract class FirefoxDriverService
    extends DriverService
    • Constructor Detail

      • FirefoxDriverService

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