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, 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)


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

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

#pidObject

WebView process PID.

Raises:

  • (NotImplementedError)


12
13
14
# File 'lib/playwright_api/android_web_view.rb', line 12

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

#pkgObject

WebView package identifier.

Raises:

  • (NotImplementedError)


17
18
19
# File 'lib/playwright_api/android_web_view.rb', line 17

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