Circle V2 API Docs
    Preparing search index...

    Type Alias Screen<Q>

    Screen: BoundFunctions<Q> & {
        debug: (
            element?: (Element | HTMLDocument)[] | Element | HTMLDocument,
            maxLength?: number,
            options?: prettyFormat.OptionsReceived,
        ) => void;
        logTestingPlaygroundURL: (element?: Element | HTMLDocument) => string;
    }

    Type Parameters

    Type Declaration

    • debug: (
          element?: (Element | HTMLDocument)[] | Element | HTMLDocument,
          maxLength?: number,
          options?: prettyFormat.OptionsReceived,
      ) => void

      Convenience function for pretty-dom which also allows an array of elements

    • logTestingPlaygroundURL: (element?: Element | HTMLDocument) => string

      Convenience function for Testing Playground which logs and returns the URL that can be opened in a browser