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