public interface SupportsCommandTimeoutsOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMMAND_TIMEOUTS_OPTION |
| Modifier and Type | Method and Description |
|---|---|
default java.util.Optional<org.openqa.selenium.internal.Either<CommandTimeouts,java.time.Duration>> |
getCommandTimeouts()
Get custom timeout(s) in milliseconds for WDA backend commands execution.
|
default T |
setCommandTimeouts(CommandTimeouts timeouts)
Custom timeout(s) in milliseconds for WDA backend commands execution.
|
default T |
setCommandTimeouts(java.time.Duration timeout)
Custom timeout for all WDA backend commands execution.
|
asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, mergeamend, setCapabilitystatic final java.lang.String COMMAND_TIMEOUTS_OPTION
default T setCommandTimeouts(CommandTimeouts timeouts)
timeouts - Command timeouts.default T setCommandTimeouts(java.time.Duration timeout)
timeout - The timeout value for all commands.default java.util.Optional<org.openqa.selenium.internal.Either<CommandTimeouts,java.time.Duration>> getCommandTimeouts()