XCUIElement+FBMinMax.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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/FBXCElementSnapshotWrapper.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface XCUIElement (FBMinMax)
  12. /*! Minimum value (minValue) – may be nil if the element does not have this attribute */
  13. @property (nonatomic, readonly, nullable) NSNumber *fb_minValue;
  14. /*! Maximum value (maxValue) - may be nil if the element does not have this attribute */
  15. @property (nonatomic, readonly, nullable) NSNumber *fb_maxValue;
  16. @end
  17. @interface FBXCElementSnapshotWrapper (FBMinMax)
  18. /*! Minimum value (minValue) – may be nil if the element does not have this attribute */
  19. @property (nonatomic, readonly, nullable) NSNumber *fb_minValue;
  20. /*! Maximum value (maxValue) - may be nil if the element does not have this attribute */
  21. @property (nonatomic, readonly, nullable) NSNumber *fb_maxValue;
  22. @end
  23. NS_ASSUME_NONNULL_END