XCUIElement.h 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. //
  2. // Generated by class-dump 3.5 (64 bit).
  3. //
  4. // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
  5. //
  6. #import <XCTest/XCUIElement.h>
  7. @class NSString, XCUIApplication, XCUICoordinate, XCUIElementQuery;
  8. @interface XCUIElement ()
  9. {
  10. BOOL _safeQueryResolutionEnabled;
  11. XCUIElementQuery *_query;
  12. id/*XCElementSnapshot*/ _lastSnapshot;
  13. }
  14. @property BOOL safeQueryResolutionEnabled; // @synthesize safeQueryResolutionEnabled=_safeQueryResolutionEnabled;
  15. @property(retain) id/*XCElementSnapshot*/ lastSnapshot; // @synthesize lastSnapshot=_lastSnapshot;
  16. @property(readonly) XCUIElementQuery *query; // @synthesize query=_query;
  17. #if !TARGET_OS_TV
  18. @property(readonly, nonatomic) UIInterfaceOrientation interfaceOrientation;
  19. #endif
  20. @property(readonly, copy) XCUICoordinate *hitPointCoordinate;
  21. @property(readonly) BOOL isTopLevelTouchBarElement;
  22. @property(readonly) BOOL isTouchBarElement;
  23. @property(readonly) BOOL hasKeyboardFocus;
  24. @property(readonly, nonatomic) XCUIApplication *application;
  25. // Added since Xcode 11.0 (beta)
  26. @property(readonly, copy) XCUIElement *excludingNonModalElements;
  27. // Added since Xcode 11.0 (GM)
  28. @property(readonly, copy) XCUIElement *includingNonModalElements;
  29. - (id)initWithElementQuery:(id)arg1;
  30. - (unsigned long long)traits;
  31. - (void)resolveHandleUIInterruption:(BOOL)arg1;
  32. - (BOOL)waitForExistenceWithTimeout:(double)arg1;
  33. - (BOOL)_waitForExistenceWithTimeout:(double)arg1;
  34. - (id)_hitPointByAttemptingToScrollToVisibleSnapshot:(id)arg1 error:(id *)arg2;
  35. - (BOOL)evaluatePredicateForExpectation:(id)arg1 debugMessage:(id *)arg2;
  36. - (void)_swipe:(unsigned long long)arg1;
  37. - (void)_tapWithNumberOfTaps:(unsigned long long)arg1 numberOfTouches:(unsigned long long)arg2 activityTitle:(id)arg3;
  38. - (id)_highestNonWindowAncestorOfElement:(id)arg1 notSharedWithElement:(id)arg2;
  39. - (id)_pointsInFrame:(CGRect)arg1 numberOfTouches:(unsigned long long)arg2;
  40. // Since 11.3
  41. - (void)pressWithPressure:(double)arg1 duration:(double)arg2;
  42. - (void)forcePress;
  43. - (void)tapWithNumberOfTaps:(unsigned long long)arg1 numberOfTouches:(unsigned long long)arg2;
  44. - (void)twoFingerTap;
  45. - (void)doubleTap;
  46. - (void)tap;
  47. - (void)pressForDuration:(double)arg1 thenDragToElement:(id)arg2;
  48. - (void)pressForDuration:(double)arg1;
  49. // Available since Xcode 11.0
  50. - (_Bool)resolveOrRaiseTestFailure:(_Bool)arg1 error:(id *)arg2;
  51. - (void)resolveOrRaiseTestFailure;
  52. // Available since Xcode 10.0
  53. - (id)screenshot;
  54. // Since Xcode 11.4
  55. - (void)swipeRightWithVelocity:(double)arg1;
  56. - (void)swipeLeftWithVelocity:(double)arg1;
  57. - (void)swipeDownWithVelocity:(double)arg1;
  58. - (void)swipeUpWithVelocity:(double)arg1;
  59. // Since Xcode 12
  60. - (void)pressForDuration:(double)duration
  61. thenDragToElement:(XCUIElement *)otherElement
  62. withVelocity:(CGFloat)velocity
  63. thenHoldForDuration:(double)holdDuration;
  64. @end