Package org.openqa.selenium.firefox
Class FirefoxDriverService
- java.lang.Object
-
- org.openqa.selenium.remote.service.DriverService
-
- org.openqa.selenium.firefox.FirefoxDriverService
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
- Direct Known Subclasses:
GeckoDriverService
public abstract class FirefoxDriverService extends DriverService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FirefoxDriverService.Builder<DS extends FirefoxDriverService,B extends FirefoxDriverService.Builder<?,?>>
-
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, close, findExecutable, getArgs, getEnvironment, getOutputStream, getTimeout, getUrl, getUrl, hasShutdownEndpoint, isRunning, sendOutputTo, start, stop, waitUntilAvailable
-
-
-
-
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.
-
-