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

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: 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
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..cbf9d64807778bc6b5a2aad317a7e87b72d36a52 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> webViewPressElement(WebState* state,
Eugene But (OOO till 7-30) 2016/09/07 16:44:43 s/webViewPressElement/webViewTapElement ?
jif 2016/09/08 13:41:01 Done.
+ 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') | ios/web/public/test/earl_grey/web_view_actions.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698