-
- All Implemented Interfaces:
public class EspressoWebDetox
-
-
Method Summary
Modifier and Type Method Description static WebViewElement
getWebView()
Gets the one and only visible webview on the screen. static WebViewElement
getWebView(@Nullable() Matcher<View> matcher)
Get the webview matches the provided {@param matcher} static WebExpect
expect(WebElement webElement)
-
-
Method Detail
-
getWebView
static WebViewElement getWebView()
Gets the one and only visible webview on the screen. If there are multiple webview, you should use
getWebView(@Nullable Matcher<View> matcher)
.
-
getWebView
static WebViewElement getWebView(@Nullable() Matcher<View> matcher)
Get the webview matches the provided {@param matcher}
- Parameters:
matcher
- a webview mathcer representation
-
expect
static WebExpect expect(WebElement webElement)
-
-
-
-