Class: Playwright::AndroidWebView

Inherits:
PlaywrightApi show all
Defined in:
lib/playwright_api/android_web_view.rb

Overview

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

Instance Method Summary collapse

Methods inherited from PlaywrightApi

#initialize, unwrap, wrap

Constructor Details

This class inherits a constructor from Playwright::PlaywrightApi

Instance Method Details

#pageObject

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

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/playwright_api/android_web_view.rb', line 8

def page
  raise NotImplementedError.new('page is not implemented yet.')
end

#pidObject

WebView process PID.

Raises:

  • (NotImplementedError)


14
15
16
# File 'lib/playwright_api/android_web_view.rb', line 14

def pid
  raise NotImplementedError.new('pid is not implemented yet.')
end

#pkgObject

WebView package identifier.

Raises:

  • (NotImplementedError)


20
21
22
# File 'lib/playwright_api/android_web_view.rb', line 20

def pkg
  raise NotImplementedError.new('pkg is not implemented yet.')
end