|
33 | 33 | static NSString *const FBKeyboardPredictionKey = @"KeyboardPrediction"; |
34 | 34 | static NSString *const axSettingsClassName = @"AXSettings"; |
35 | 35 |
|
36 | | -static BOOL FBShouldUseTestManagerForVisibilityDetection = NO; |
37 | 36 | static BOOL FBShouldUseSingletonTestManager = YES; |
38 | 37 | static BOOL FBShouldRespectSystemAlerts = NO; |
39 | 38 |
|
|
48 | 47 | static NSUInteger FBScreenshotQuality; |
49 | 48 | static BOOL FBShouldUseFirstMatch; |
50 | 49 | static BOOL FBShouldBoundElementsByIndex; |
51 | | -static BOOL FBIncludeNonModalElements; |
52 | 50 | static NSString *FBAcceptAlertButtonSelector; |
53 | 51 | static NSString *FBDismissAlertButtonSelector; |
54 | 52 | static NSString *FBAutoClickAlertSelector; |
@@ -188,16 +186,6 @@ + (BOOL)verboseLoggingEnabled |
188 | 186 | return [NSProcessInfo.processInfo.environment[@"VERBOSE_LOGGING"] boolValue]; |
189 | 187 | } |
190 | 188 |
|
191 | | -+ (void)setShouldUseTestManagerForVisibilityDetection:(BOOL)value |
192 | | -{ |
193 | | - FBShouldUseTestManagerForVisibilityDetection = value; |
194 | | -} |
195 | | - |
196 | | -+ (BOOL)shouldUseTestManagerForVisibilityDetection |
197 | | -{ |
198 | | - return FBShouldUseTestManagerForVisibilityDetection; |
199 | | -} |
200 | | - |
201 | 189 | + (void)setShouldUseCompactResponses:(BOOL)value |
202 | 190 | { |
203 | 191 | FBShouldUseCompactResponses = value; |
@@ -426,16 +414,6 @@ + (BOOL)boundElementsByIndex |
426 | 414 | return FBShouldBoundElementsByIndex; |
427 | 415 | } |
428 | 416 |
|
429 | | -+ (void)setIncludeNonModalElements:(BOOL)isEnabled |
430 | | -{ |
431 | | - FBIncludeNonModalElements = isEnabled; |
432 | | -} |
433 | | - |
434 | | -+ (BOOL)includeNonModalElements |
435 | | -{ |
436 | | - return FBIncludeNonModalElements; |
437 | | -} |
438 | | - |
439 | 417 | + (void)setAcceptAlertButtonSelector:(NSString *)classChainSelector |
440 | 418 | { |
441 | 419 | FBAcceptAlertButtonSelector = classChainSelector; |
@@ -542,9 +520,6 @@ + (void)resetSessionSettings |
542 | 520 | FBScreenshotQuality = 3; |
543 | 521 | FBShouldUseFirstMatch = NO; |
544 | 522 | FBShouldBoundElementsByIndex = NO; |
545 | | - // This is diabled by default because enabling it prevents the accessbility snapshot to be taken |
546 | | - // (it always errors with kxIllegalArgument error) |
547 | | - FBIncludeNonModalElements = NO; |
548 | 523 | FBAcceptAlertButtonSelector = @""; |
549 | 524 | FBDismissAlertButtonSelector = @""; |
550 | 525 | FBAutoClickAlertSelector = @""; |
|
0 commit comments