OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 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_WEB_VIEW_SHELL_TEST_EARL_GREY_WEB_VIEW_SHELL_MATCHERS_H_ |
| 6 #define IOS_WEB_VIEW_SHELL_TEST_EARL_GREY_WEB_VIEW_SHELL_MATCHERS_H_ |
| 7 |
| 8 #import <string> |
| 9 |
| 10 #import <EarlGrey/EarlGrey.h> |
| 11 |
| 12 namespace ios_web_view { |
| 13 |
| 14 // Matcher for web view shell address field text property equal to |text|. |
| 15 id<GREYMatcher> AddressFieldText(const std::string& text); |
| 16 |
| 17 // Matcher for back button in web view shell. |
| 18 id<GREYMatcher> BackButton(); |
| 19 |
| 20 // Matcher for forward button in web view shell. |
| 21 id<GREYMatcher> ForwardButton(); |
| 22 |
| 23 // Matcher for address field in web view shell. |
| 24 id<GREYMatcher> AddressField(); |
| 25 |
| 26 } // namespace ios_web_view |
| 27 |
| 28 #endif // IOS_WEB_VIEW_SHELL_TEST_EARL_GREY_WEB_VIEW_SHELL_MATCHERS_H_ |
OLD | NEW |