FBUnattachedAppLauncher.h 717 B

123456789101112131415161718192021222324252627
  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 <Foundation/Foundation.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. /**
  12. Launches apps without attaching them to an XCUITest or a WDA session, allowing them to remain open
  13. when WDA closes.
  14. */
  15. @interface FBUnattachedAppLauncher : NSObject
  16. /**
  17. Launch the app with the specified bundle ID. Return YES if successful, NO otherwise.
  18. */
  19. + (BOOL)launchAppWithBundleId:(NSString *)bundleId;
  20. @end
  21. NS_ASSUME_NONNULL_END