Package org.openqa.selenium.firefox
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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
FirefoxDriverService.Builder<DS extends FirefoxDriverService,
B extends FirefoxDriverService.Builder<?, ?>> -
Field Summary
Fields inherited from class org.openqa.selenium.remote.service.DriverService
DEFAULT_TIMEOUT, LOG_NULL, LOG_STDERR, LOG_STDOUT, process
-
Constructor Summary
-
Method Summary
Methods inherited from class org.openqa.selenium.remote.service.DriverService
close, getArgs, getDefaultDriverOptions, getDriverExecutable, getDriverName, getDriverProperty, getEnvironment, getExecutable, getOutputStream, getTimeout, getUrl, getUrl, hasShutdownEndpoint, isRunning, sendOutputTo, setExecutable, start, stop, waitUntilAvailable
-
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.
-