async _takeAutomaticSnapshot(name, force) {
    if (this.enabled && this.shouldTakeAutomaticSnapshots) {
      if (this.takeAutomaticSnapshots[name] || force) {
        await this._takeSnapshot(name);
      }
    }
  }
Creates a handle for a test artifact (video recording, log, etc.)

@abstract
@protected
@return {Artifact} - an object with synchronous .discard() and .save(path) methods