public interface SupportsUnhandledPromptBehaviorOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
UNHANDLED_PROMPT_BEHAVIOR_OPTION |
Modifier and Type | Method and Description |
---|---|
default java.util.Optional<UnhandledPromptBehavior> |
getUnhandledPromptBehavior()
Get the current session’s page load strategy.
|
default T |
setUnhandledPromptBehavior(UnhandledPromptBehavior strategy)
Defines the current session’s page load strategy.
|
asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge
amend, setCapability
static final java.lang.String UNHANDLED_PROMPT_BEHAVIOR_OPTION
default T setUnhandledPromptBehavior(UnhandledPromptBehavior strategy)
strategy
- Page load strategy.default java.util.Optional<UnhandledPromptBehavior> getUnhandledPromptBehavior()