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(Builder.class)
public static class InternetExplorerDriverService.Builder
extends 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
(@Nullable File exe, int port, @Nullable Duration timeout, @Nullable List<String> args, @Nullable Map<String, String> environment) protected void
int
score
(Capabilities capabilities) Provides a measure of how strongly thisDriverService
supports the givencapabilities
.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
Description copied from class:DriverService.Builder
Provides a measure of how strongly thisDriverService
supports the givencapabilities
. A score of 0 or less indicates that thisDriverService
does not support instances ofWebDriver
that requirecapabilities
. Typically, the score is generated by summing the number of capabilities that the driver service directly supports that are unique to the driver service (that is, things like "proxy
" don't tend to count to the score).- Specified by:
score
in classDriverService.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:
loadSystemProperties
in classDriverService.Builder<InternetExplorerDriverService,
InternetExplorerDriverService.Builder>
-
createArgs
- Specified by:
createArgs
in classDriverService.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:
createDriverService
in classDriverService.Builder<InternetExplorerDriverService,
InternetExplorerDriverService.Builder>
-