AndroidWebView
AndroidWebView represents a WebView open on the AndroidDevice. WebView is usually obtained using androidDevice.webView().
Methods
page
Added in: v1.9Connects to the WebView and returns a regular Playwright Page to interact with.
Usage
await androidWebView.page();
Returns
pid
Added in: v1.9WebView process PID.
Usage
androidWebView.pid();
Returns
pkg
Added in: v1.9WebView package identifier.
Usage
androidWebView.pkg();
Returns
Events
on('close')
Added in: v1.9Emitted when the WebView is closed.
Usage
androidWebView.on('close', data => {});