Interface SupportsAutoWebViewOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
EspressoOptions
,UiAutomator2Options
,XCUITestOptions
public interface SupportsAutoWebViewOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
AUTO_WEB_VIEW_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default T
autoWebview()
Set the app to move directly into Webview context.default java.util.Optional<java.lang.Boolean>
doesAutoWebview()
Get whether the app moves directly into Webview context.default T
setAutoWebview(boolean bool)
Set whether the app moves directly into Webview context.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
AUTO_WEB_VIEW_OPTION
static final java.lang.String AUTO_WEB_VIEW_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
autoWebview
default T autoWebview()
Set the app to move directly into Webview context.- Returns:
- self instance for chaining.
-
setAutoWebview
default T setAutoWebview(boolean bool)
Set whether the app moves directly into Webview context.- Parameters:
bool
- is whether the app moves directly into Webview context.- Returns:
- self instance for chaining.
-
doesAutoWebview
default java.util.Optional<java.lang.Boolean> doesAutoWebview()
Get whether the app moves directly into Webview context.- Returns:
- true if app moves directly into Webview context.
-
-