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 newInternetExplorerDriverService
instances.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.google.common.collect.ImmutableList<java.lang.String>
createArgs()
protected InternetExplorerDriverService
createDriverService(java.io.File exe, int port, java.time.Duration timeout, com.google.common.collect.ImmutableList<java.lang.String> args, com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> environment)
protected java.io.File
findDefaultExecutable()
int
score(org.openqa.selenium.Capabilities capabilites)
InternetExplorerDriverService.Builder
withExtractPath(java.io.File extractPath)
Configures path to which the driver server library will be extracted.InternetExplorerDriverService.Builder
withHost(java.lang.String host)
Configures the host to which the driver server bound.InternetExplorerDriverService.Builder
withLogLevel(InternetExplorerDriverLogLevel logLevel)
Configures the logging level for the driver server.InternetExplorerDriverService.Builder
withSilent(java.lang.Boolean silent)
Configures silence in stdout of the driver server by unlogged messages.
-
-
-
Method Detail
-
score
public int score(org.openqa.selenium.Capabilities capabilites)
- Specified by:
score
in classorg.openqa.selenium.remote.service.DriverService.Builder<InternetExplorerDriverService,InternetExplorerDriverService.Builder>
-
withLogLevel
public InternetExplorerDriverService.Builder withLogLevel(InternetExplorerDriverLogLevel logLevel)
Configures the logging level for the driver server.- Parameters:
logLevel
- A level of the log verbosity.- Returns:
- A self reference.
-
withHost
public InternetExplorerDriverService.Builder withHost(java.lang.String host)
Configures the host to which the driver server bound.- Parameters:
host
- A host name.- Returns:
- A self reference.
-
withExtractPath
public InternetExplorerDriverService.Builder withExtractPath(java.io.File extractPath)
Configures path to which the driver server library will be extracted.- Parameters:
extractPath
- A path.- Returns:
- A self reference.
-
withSilent
public InternetExplorerDriverService.Builder withSilent(java.lang.Boolean silent)
Configures silence in stdout of the driver server by unlogged messages.- Parameters:
silent
- To be silent in stdout or not.- Returns:
- A self reference.
-
findDefaultExecutable
protected java.io.File findDefaultExecutable()
- Specified by:
findDefaultExecutable
in classorg.openqa.selenium.remote.service.DriverService.Builder<InternetExplorerDriverService,InternetExplorerDriverService.Builder>
-
createArgs
protected com.google.common.collect.ImmutableList<java.lang.String> createArgs()
- Specified by:
createArgs
in classorg.openqa.selenium.remote.service.DriverService.Builder<InternetExplorerDriverService,InternetExplorerDriverService.Builder>
-
createDriverService
protected InternetExplorerDriverService createDriverService(java.io.File exe, int port, java.time.Duration timeout, com.google.common.collect.ImmutableList<java.lang.String> args, com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> environment)
- Specified by:
createDriverService
in classorg.openqa.selenium.remote.service.DriverService.Builder<InternetExplorerDriverService,InternetExplorerDriverService.Builder>
-
-