playwright/docs/src/api/class-androidwebview.md
Dmitry Gozman 99f8e1cf63
docs: document Android and friends (#5415)
These are experimental, currently available through `_android`.
2021-02-11 10:31:57 -08:00

537 B

class: AndroidWebView

  • langs: js

[AndroidWebView] represents a WebView open on the [AndroidDevice]. WebView is usually obtained using [method: AndroidDevice.webView].

event: AndroidWebView.close

Emitted when the WebView is closed.

async method: AndroidWebView.page

  • returns: <[Page]>

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

method: AndroidWebView.pid

  • returns: <[int]>

WebView process PID.

method: AndroidWebView.pkg

  • returns: <[string]>

WebView package identifier.