Interface BrowserServer

Hierarchy

  • BrowserServer

Methods

  • Emitted when the browser server closes.

    Parameters

    • event: "close"
    • listener: (() => any)
        • (): any
        • Returns any

    Returns BrowserServer

  • Closes the browser gracefully and makes sure the process is terminated.

    Returns Promise<void>

  • Kills the browser process and waits for the process to exit.

    Returns Promise<void>

  • Removes an event listener added by on or addListener.

    Parameters

    • event: "close"
    • listener: (() => any)
        • (): any
        • Returns any

    Returns BrowserServer

  • Emitted when the browser server closes.

    Parameters

    • event: "close"
    • listener: (() => any)
        • (): any
        • Returns any

    Returns BrowserServer

  • Adds an event listener that will be automatically removed after it is triggered once. See addListener for more information about this event.

    Parameters

    • event: "close"
    • listener: (() => any)
        • (): any
        • Returns any

    Returns BrowserServer

  • Emitted when the browser server closes.

    Parameters

    • event: "close"
    • listener: (() => any)
        • (): any
        • Returns any

    Returns BrowserServer

  • Spawned browser application process.

    Returns ChildProcess

  • Removes an event listener added by on or addListener.

    Parameters

    • event: "close"
    • listener: (() => any)
        • (): any
        • Returns any

    Returns BrowserServer

  • Browser websocket url.

    Browser websocket endpoint which can be used as an argument to browserType.connect(wsEndpoint[, options]) to establish connection to the browser.

    Returns string

Generated using TypeDoc