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 InternetExplorerDriverServicecreateDriverService(@Nullable File exe, int port, @Nullable Duration timeout, @Nullable List<String> args, @Nullable Map<String, String> environment) protected voidintscore(org.openqa.selenium.Capabilities capabilities) withExtractPath(@Nullable File extractPath) Configures path to which the driver server library will be extracted.Configures the host to which the driver server bound.withLogLevel(@Nullable InternetExplorerDriverLogLevel logLevel) Configures the logging level for the driver server.withSilent(@Nullable 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:
scorein classorg.openqa.selenium.remote.service.DriverService.Builder<InternetExplorerDriverService,InternetExplorerDriverService.Builder>
-
withLogLevel
public InternetExplorerDriverService.Builder withLogLevel(@Nullable InternetExplorerDriverLogLevel logLevel) 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:
loadSystemPropertiesin classorg.openqa.selenium.remote.service.DriverService.Builder<InternetExplorerDriverService,InternetExplorerDriverService.Builder>
-
createArgs
- Specified by:
createArgsin classorg.openqa.selenium.remote.service.DriverService.Builder<InternetExplorerDriverService,InternetExplorerDriverService.Builder>
-
createDriverService
protected InternetExplorerDriverService createDriverService(@Nullable File exe, int port, @Nullable Duration timeout, @Nullable List<String> args, @Nullable Map<String, String> environment) - Specified by:
createDriverServicein classorg.openqa.selenium.remote.service.DriverService.Builder<InternetExplorerDriverService,InternetExplorerDriverService.Builder>
-