playwright/docs/src/api/class-androidwebview.md

29 lines
607 B
Markdown
Raw Normal View History

# class: AndroidWebView
2022-07-05 16:24:50 -08:00
* since: v1.9
* langs: js
[AndroidWebView] represents a WebView open on the [AndroidDevice]. WebView is usually obtained using [`method: AndroidDevice.webView`].
## event: AndroidWebView.close
2022-07-05 16:24:50 -08:00
* since: v1.9
Emitted when the WebView is closed.
## async method: AndroidWebView.page
2022-07-05 16:24:50 -08:00
* since: v1.9
- returns: <[Page]>
Connects to the WebView and returns a regular Playwright [Page] to interact with.
## method: AndroidWebView.pid
2022-07-05 16:24:50 -08:00
* since: v1.9
- returns: <[int]>
WebView process PID.
## method: AndroidWebView.pkg
2022-07-05 16:24:50 -08:00
* since: v1.9
- returns: <[string]>
2022-11-21 09:30:32 -08:00
WebView package identifier.