Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1188)

Unified Diff: ios/web/public/test/earl_grey/web_view_actions.h

Issue 2321613002: Add helper that taps on elements in the webview. (Closed)
Patch Set: Addressed comments. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ios/web/public/test/earl_grey/web_view_actions.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/test/earl_grey/web_view_actions.h
diff --git a/ios/web/public/test/earl_grey/web_view_actions.h b/ios/web/public/test/earl_grey/web_view_actions.h
index 779a10d1e0fec6fafd0dc594e711701197039774..fb5f9d0a6114c1b46469e5bd74fa838471b79c7e 100644
--- a/ios/web/public/test/earl_grey/web_view_actions.h
+++ b/ios/web/public/test/earl_grey/web_view_actions.h
@@ -32,6 +32,10 @@ id<GREYAction> webViewLongPressElementForContextMenu(
const std::string& element_id,
bool triggers_context_menu);
+// Taps on element |element_id| in the webview of |state|.
+id<GREYAction> webViewTapElement(WebState* state,
+ const std::string& element_id);
+
} // namespace web
#endif // IOS_WEB_PUBLIC_TEST_EARL_GREY_WEB_VIEW_ACTIONS_H_
« no previous file with comments | « no previous file | ios/web/public/test/earl_grey/web_view_actions.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698