public static RecordBuilder snapActivity(Activity activity) {
    return ScreenshotImpl.getInstance().snapActivity(activity);
  }
Take a snapshot of the activity and store it with the the testName. See the adb-logcat for how
to pull the screenshot.

<p>This method is thread safe.
core/src/main/java/com/facebook/testing/screenshot/Screenshot.java