chromium/ios/web_view/shell/test/earl_grey/web_view_shell_matchers.h

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef IOS_WEB_VIEW_SHELL_TEST_EARL_GREY_WEB_VIEW_SHELL_MATCHERS_H_
#define IOS_WEB_VIEW_SHELL_TEST_EARL_GREY_WEB_VIEW_SHELL_MATCHERS_H_

#import <Foundation/Foundation.h>

#import <string>

@protocol GREYMatcher;

NS_ASSUME_NONNULL_BEGIN

namespace ios_web_view {

// Matcher for web view shell address field text property equal to |text|.
id<GREYMatcher> AddressFieldText(const std::string& text);

// Matcher for back button in web view shell.
id<GREYMatcher> BackButton();

// Matcher for forward button in web view shell.
id<GREYMatcher> ForwardButton();

// Matcher for address field in web view shell.
id<GREYMatcher> AddressField();

}  // namespace ios_web_view

NS_ASSUME_NONNULL_END

#endif  // IOS_WEB_VIEW_SHELL_TEST_EARL_GREY_WEB_VIEW_SHELL_MATCHERS_H_