| Index: ios/web/public/test/earl_grey/web_view_matchers.h
|
| diff --git a/ios/web/public/test/earl_grey/web_view_matchers.h b/ios/web/public/test/earl_grey/web_view_matchers.h
|
| index a7b0bcd46e05f621bc36e6b40b3b286aae96ac22..e446d6cf09264ed110c79a4f7031568a96da4e1f 100644
|
| --- a/ios/web/public/test/earl_grey/web_view_matchers.h
|
| +++ b/ios/web/public/test/earl_grey/web_view_matchers.h
|
| @@ -37,7 +37,11 @@ id<GREYMatcher> webViewCssSelector(std::string selector, WebState* web_state);
|
| // Matcher for WKWebView's scroll view.
|
| id<GREYMatcher> webViewScrollView(WebState* web_state);
|
|
|
| -// Matcher for interstitial page containing |text|.
|
| +// Matcher for an interstitial page. Does not wait if the page is not displayed.
|
| +id<GREYMatcher> interstitial(WebState* web_state);
|
| +
|
| +// Matcher for interstitial page containing |text|. Waits until the text is
|
| +// displayed or timed out.
|
| id<GREYMatcher> interstitialContainingText(NSString* text, WebState* web_state);
|
|
|
| } // namespace web
|
|
|