public interface SupportsNewCommandTimeoutOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NEW_COMMAND_TIMEOUT_OPTION |
| Modifier and Type | Method and Description |
|---|---|
default java.util.Optional<java.time.Duration> |
getNewCommandTimeout()
Get the timeout for new commands.
|
default T |
setNewCommandTimeout(java.time.Duration duration)
Set the timeout for new commands.
|
asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, mergeamend, setCapabilitystatic final java.lang.String NEW_COMMAND_TIMEOUT_OPTION
default T setNewCommandTimeout(java.time.Duration duration)
duration - is the allowed time before seeing a new command.default java.util.Optional<java.time.Duration> getNewCommandTimeout()