Interface SupportsFullContextListOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsFullContextListOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
FULL_CONTEXT_LIST_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.Boolean>
doesFullContextList()
Get whether to return the detailed information on contexts for the get available context command.default T
fullContextList()
Enforces to return the detailed information on contexts for the get available context command.default T
setFullContextList(boolean value)
Sets to return the detailed information on contexts for the get available context command.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
FULL_CONTEXT_LIST_OPTION
static final java.lang.String FULL_CONTEXT_LIST_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
fullContextList
default T fullContextList()
Enforces to return the detailed information on contexts for the get available context command.- Returns:
- self instance for chaining.
-
setFullContextList
default T setFullContextList(boolean value)
Sets to return the detailed information on contexts for the get available context command. If this capability is enabled, then each item in the returned contexts list would additionally include WebView title, full URL and the bundle identifier. Defaults to false.- Parameters:
value
- Whether to return the detailed info on available context command.- Returns:
- self instance for chaining.
-
doesFullContextList
default java.util.Optional<java.lang.Boolean> doesFullContextList()
Get whether to return the detailed information on contexts for the get available context command.- Returns:
- True or false.
-
-