Interface SupportsPageLoadStrategyOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,java.io.Serializable
- All Known Implementing Classes:
GeckoOptions,SafariOptions
public interface SupportsPageLoadStrategyOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPAGE_LOAD_STRATEGY_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<org.openqa.selenium.PageLoadStrategy>getPageLoadStrategy()Get the current session’s page load strategy.default TsetPageLoadStrategy(org.openqa.selenium.PageLoadStrategy strategy)Defines the current session’s page load strategy.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
PAGE_LOAD_STRATEGY_OPTION
static final java.lang.String PAGE_LOAD_STRATEGY_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setPageLoadStrategy
default T setPageLoadStrategy(org.openqa.selenium.PageLoadStrategy strategy)
Defines the current session’s page load strategy.- Parameters:
strategy- Page load strategy.- Returns:
- self instance for chaining.
-
getPageLoadStrategy
default java.util.Optional<org.openqa.selenium.PageLoadStrategy> getPageLoadStrategy()
Get the current session’s page load strategy.- Returns:
- Page load strategy.
-
-