Index: ios/chrome/test/earl_grey/chrome_matchers.mm |
diff --git a/ios/chrome/test/earl_grey/chrome_matchers.mm b/ios/chrome/test/earl_grey/chrome_matchers.mm |
index 8525323f5a3ab96aef25edf2f3c08b74edb0eabe..bf7833c9c31efeb93ed9c42f37f6a7a95fcc638e 100644 |
--- a/ios/chrome/test/earl_grey/chrome_matchers.mm |
+++ b/ios/chrome/test/earl_grey/chrome_matchers.mm |
@@ -227,4 +227,8 @@ id<GREYMatcher> CollectionViewSwitchCell(NSString* accessibilityIdentifier, |
nil); |
} |
+id<GREYMatcher> OpenLinkInNewTabMenuItem() { |
+ return ButtonWithAccessibilityLabelId(IDS_IOS_CONTENT_CONTEXT_OPENLINKNEWTAB); |
+} |
+ |
} // namespace chrome_test_util |