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_ |