For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/api/reactlynx-testing-library/TypeAlias.Screen.md.
Lynx
  • English
  • reactlynx-testing-library / Screen

    Screen<Q>

    type Screen<Q>: BoundFunctions<Q> & object;

    Type declaration

    debug()

    debug: (element?: (Element | HTMLDocument)[] | Element | HTMLDocument, maxLength?: number, options?: act) => void;

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

    Parameters

    ParameterType
    element?(Element | HTMLDocument)[] | Element | HTMLDocument
    maxLength?number
    options?act

    Returns

    void

    logTestingPlaygroundURL()

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

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

    Parameters

    ParameterType
    element?Element | HTMLDocument

    Returns

    string

    Type Parameters

    Type ParameterDefault type
    Q extends Queriestypeof queries

    Defined in

    index.d.ts:1497

    Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.