Package org.openqa.selenium.ie
Class InternetExplorerDriverService.Builder
java.lang.Object
org.openqa.selenium.remote.service.DriverService.Builder<InternetExplorerDriverService,InternetExplorerDriverService.Builder>
org.openqa.selenium.ie.InternetExplorerDriverService.Builder
- Enclosing class:
- InternetExplorerDriverService
@AutoService(org.openqa.selenium.remote.service.DriverService.Builder.class)
public static class InternetExplorerDriverService.Builder
extends org.openqa.selenium.remote.service.DriverService.Builder<InternetExplorerDriverService,InternetExplorerDriverService.Builder>
Builder used to configure new
InternetExplorerDriverService
instances.-
Field Summary
Fields inherited from class org.openqa.selenium.remote.service.DriverService.Builder
exe
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected InternetExplorerDriverService
createDriverService
(File exe, int port, Duration timeout, List<String> args, Map<String, String> environment) protected void
int
score
(org.openqa.selenium.Capabilities capabilities) withExtractPath
(File extractPath) Configures path to which the driver server library will be extracted.Configures the host to which the driver server bound.withLogLevel
(InternetExplorerDriverLogLevel logLevel) Configures the logging level for the driver server.withSilent
(Boolean silent) Configures silence in stdout of the driver server by unlogged messages.Methods inherited from class org.openqa.selenium.remote.service.DriverService.Builder
build, getDefaultTimeout, getLogFile, getLogOutput, getPort, parseLogOutput, usingAnyFreePort, usingDriverExecutable, usingPort, withEnvironment, withLogFile, withLogOutput, withTimeout
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
score
public int score(org.openqa.selenium.Capabilities capabilities) - Specified by:
score
in classorg.openqa.selenium.remote.service.DriverService.Builder<InternetExplorerDriverService,
InternetExplorerDriverService.Builder>
-
withLogLevel
Configures the logging level for the driver server.- Parameters:
logLevel
- A level of the log verbosity.- Returns:
- A self reference.
-
withHost
Configures the host to which the driver server bound.- Parameters:
host
- A host name.- Returns:
- A self reference.
-
withExtractPath
Configures path to which the driver server library will be extracted.- Parameters:
extractPath
- A path.- Returns:
- A self reference.
-
withSilent
Configures silence in stdout of the driver server by unlogged messages.- Parameters:
silent
- To be silent in stdout or not.- Returns:
- A self reference.
-
loadSystemProperties
protected void loadSystemProperties()- Specified by:
loadSystemProperties
in classorg.openqa.selenium.remote.service.DriverService.Builder<InternetExplorerDriverService,
InternetExplorerDriverService.Builder>
-
createArgs
- Specified by:
createArgs
in classorg.openqa.selenium.remote.service.DriverService.Builder<InternetExplorerDriverService,
InternetExplorerDriverService.Builder>
-
createDriverService
protected InternetExplorerDriverService createDriverService(File exe, int port, Duration timeout, List<String> args, Map<String, String> environment) - Specified by:
createDriverService
in classorg.openqa.selenium.remote.service.DriverService.Builder<InternetExplorerDriverService,
InternetExplorerDriverService.Builder>
-