51 lines
2.2 KiB
Objective-C
51 lines
2.2 KiB
Objective-C
/**
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <WebDriverAgentLib/FBElement.h>
|
|
#import <XCTest/XCUIElementTypes.h>
|
|
|
|
@class XCUIApplication;
|
|
|
|
@interface XCUIElementDouble : NSObject<FBElement>
|
|
@property (nonatomic, strong, nonnull) XCUIApplication *application;
|
|
@property (nonatomic, readwrite, assign) CGRect frame;
|
|
@property (nonatomic, readwrite, nullable) id lastSnapshot;
|
|
@property (nonatomic, assign) BOOL fb_isObstructedByAlert;
|
|
@property (nonatomic, readonly, nonnull) NSString *fb_cacheId;
|
|
@property (nonatomic, readwrite, copy, nonnull) NSDictionary *wdRect;
|
|
@property (nonatomic, readwrite, assign) CGRect wdFrame;
|
|
@property (nonatomic, readwrite, copy, nonnull) NSString *wdUID;
|
|
@property (nonatomic, copy, readwrite, nullable) NSString *wdName;
|
|
@property (nonatomic, copy, readwrite, nullable) NSString *wdLabel;
|
|
@property (nonatomic, copy, readwrite, nonnull) NSString *wdType;
|
|
@property (nonatomic, strong, readwrite, nullable) NSString *wdValue;
|
|
@property (nonatomic, readwrite, getter=isWDEnabled) BOOL wdEnabled;
|
|
@property (nonatomic, readwrite, getter=isWDSelected) BOOL wdSelected;
|
|
@property (nonatomic, readwrite, assign) CGRect wdNativeFrame;
|
|
@property (nonatomic, readwrite) NSUInteger wdIndex;
|
|
@property (nonatomic, readwrite, getter=isWDVisible) BOOL wdVisible;
|
|
@property (nonatomic, readwrite, getter=isWDAccessible) BOOL wdAccessible;
|
|
@property (nonatomic, readwrite, getter = isWDFocused) BOOL wdFocused;
|
|
@property (nonatomic, readwrite, getter = isWDHittable) BOOL wdHittable;
|
|
@property (nonatomic, copy, readwrite, nullable) NSString *wdPlaceholderValue;
|
|
@property (copy, nonnull) NSArray *children;
|
|
@property (nonatomic, readwrite, assign) XCUIElementType elementType;
|
|
@property (nonatomic, readwrite, getter=isWDAccessibilityContainer) BOOL wdAccessibilityContainer;
|
|
@property (nonatomic, copy, readwrite, nullable) NSString *wdTraits;
|
|
|
|
- (void)resolve;
|
|
- (id _Nonnull)fb_standardSnapshot;
|
|
- (id _Nonnull)fb_customSnapshot;
|
|
- (nullable id)query;
|
|
|
|
// Checks
|
|
@property (nonatomic, assign, readonly) BOOL didResolve;
|
|
|
|
@end
|