AndroidWebView
Added in: v1.9AndroidWebView represents a WebView open on the AndroidDevice. WebView is usually obtained using androidDevice.webView().
Methods
androidWebView.page()
Added in: v1.9 asyncConnects to the WebView and returns a regular Playwright Page to interact with.
Returns
Promise<Page>
androidWebView.pid()
Added in: v1.9WebView process PID.
Returns
int
androidWebView.pkg()
Added in: v1.9WebView package identifier.
Returns
string
Events
androidWebView.on('close')
Added in: v1.9Emitted when the WebView is closed.
Event data
void