OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_CHROME_TEST_APP_WEB_VIEW_INTERACTION_TEST_UTIL_H_ |
| 6 #define IOS_CHROME_TEST_APP_WEB_VIEW_INTERACTION_TEST_UTIL_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 namespace chrome_test_util { |
| 11 |
| 12 // Attempts to tap the element with |element_id| in the current WebState |
| 13 // using a JavaScript click() event. |
| 14 void TapWebViewElementWithId(const std::string& element_id); |
| 15 |
| 16 // Attemps to submit form with |form_id| in the current WebState. |
| 17 void SubmitWebViewFormWithId(const std::string& form_id); |
| 18 |
| 19 } // namespace chrome_test_util |
| 20 |
| 21 #endif // IOS_CHROME_TEST_APP_WEB_VIEW_INTERACTION_TEST_UTIL_H_ |
OLD | NEW |