public static class InternetExplorerDriverService.Builder extends Object
InternetExplorerDriverService
instances.Constructor and Description |
---|
InternetExplorerDriverService.Builder() |
Modifier and Type | Method and Description |
---|---|
InternetExplorerDriverService |
build()
Creates a new service to manage the driver server.
|
InternetExplorerDriverService.Builder |
usingAnyFreePort()
Configures the driver server to start on any available port.
|
InternetExplorerDriverService.Builder |
usingDriverExecutable(File file)
Sets which driver executable the builder will use.
|
InternetExplorerDriverService.Builder |
usingPort(int port)
Sets which port the driver server should be started on.
|
InternetExplorerDriverService.Builder |
withEnvironment(Map<String,String> environment)
Defines the environment for the launched driver server.
|
InternetExplorerDriverService.Builder |
withExtractPath(File extractPath)
Configures path to which the driver server library will be extracted.
|
InternetExplorerDriverService.Builder |
withHost(String host)
Configures the host to which the driver server bound.
|
InternetExplorerDriverService.Builder |
withLogFile(File logFile)
Configures the driver server to write log to the given file.
|
InternetExplorerDriverService.Builder |
withLogLevel(InternetExplorerDriverLogLevel logLevel)
Configures the logging level for the driver server.
|
InternetExplorerDriverService.Builder |
withSilent(Boolean silent)
Configures silence in stdout of the driver server by unlogged messages.
|
public InternetExplorerDriverService.Builder()
public InternetExplorerDriverService.Builder usingDriverExecutable(File file)
file
- The executable to use.public InternetExplorerDriverService.Builder usingPort(int port)
port
- The port to use; must be non-negative.public InternetExplorerDriverService.Builder usingAnyFreePort()
@Beta public InternetExplorerDriverService.Builder withEnvironment(Map<String,String> environment)
environment
- A map of the environment variables to launch the
server with.public InternetExplorerDriverService.Builder withLogFile(File logFile)
logFile
- A file to write log to.public InternetExplorerDriverService.Builder withLogLevel(InternetExplorerDriverLogLevel logLevel)
logLevel
- A level of the log verbosity.public InternetExplorerDriverService.Builder withHost(String host)
host
- A host name.public InternetExplorerDriverService.Builder withExtractPath(File extractPath)
extractPath
- A path.public InternetExplorerDriverService.Builder withSilent(Boolean silent)
silent
- To be silent in stdout ir not.public InternetExplorerDriverService build()
Copyright © 2013. All rights reserved.