XCUIElement+FBAccessibility.h 801 B

123456789101112131415161718192021222324252627282930
  1. /**
  2. * Copyright (c) 2015-present, Facebook, Inc.
  3. * All rights reserved.
  4. *
  5. * This source code is licensed under the BSD-style license found in the
  6. * LICENSE file in the root directory of this source tree. An additional grant
  7. * of patent rights can be found in the PATENTS file in the same directory.
  8. */
  9. #import <WebDriverAgentLib/XCUIElement.h>
  10. #import <WebDriverAgentLib/FBXCElementSnapshotWrapper.h>
  11. NS_ASSUME_NONNULL_BEGIN
  12. @interface XCUIElement (FBAccessibility)
  13. /*! Whether or not the element is accessible */
  14. @property (atomic, readonly) BOOL fb_isAccessibilityElement;
  15. @end
  16. @interface FBXCElementSnapshotWrapper (FBAccessibility)
  17. /*! Whether or not the element in snapshot is accessible */
  18. @property (atomic, readonly) BOOL fb_isAccessibilityElement;
  19. @end
  20. NS_ASSUME_NONNULL_END