Interface AndroidWebView

AndroidWebView represents a WebView open on the AndroidDevice. WebView is usually obtained using androidDevice.webView(selector[, options]).

Hierarchy

  • AndroidWebView

Methods

  • Emitted when the WebView is closed.

    Parameters

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

    Returns AndroidWebView

  • Removes an event listener added by on or addListener.

    Parameters

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

    Returns AndroidWebView

  • Emitted when the WebView is closed.

    Parameters

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

    Returns AndroidWebView

  • 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 AndroidWebView

  • Connects to the WebView and returns a regular Playwright Page to interact with.

    Returns Promise<Page>

  • WebView process PID.

    Returns number

  • WebView package identifier.

    Returns string

  • Emitted when the WebView is closed.

    Parameters

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

    Returns AndroidWebView

  • Removes an event listener added by on or addListener.

    Parameters

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

    Returns AndroidWebView

Generated using TypeDoc