Index: ios/web/public/test/web_view_interaction_test_util.h |
diff --git a/ios/web/public/test/web_view_interaction_test_util.h b/ios/web/public/test/web_view_interaction_test_util.h |
index ba7fc47e02be71dcf8e36779a5700e8733ad336c..bbc92cefa99c71d519f2ebf2ca4e0c451bc9e12b 100644 |
--- a/ios/web/public/test/web_view_interaction_test_util.h |
+++ b/ios/web/public/test/web_view_interaction_test_util.h |
@@ -9,10 +9,10 @@ |
namespace web { |
namespace test { |
-// Attempts to tap the element with |element_id| in the passed in |web_state| |
-// using a JavaScript click() event. |
-void TapWebViewElementWithId(web::WebState* web_state, |
+// Returns whether the element with |element_id| in the passed |web_state| has |
+// been tapped using a JavaScript click() event. |
+bool TapWebViewElementWithId(web::WebState* web_state, |
const std::string& element_id); |
} // namespace test |
-} // namespace web |
+} // namespace web |