Class: Playwright::Android
- Inherits:
-
PlaywrightApi
- Object
- PlaywrightApi
- Playwright::Android
- Defined in:
- lib/playwright_api/android.rb
Instance Method Summary collapse
- #after_initialize ⇒ Object
- #devices ⇒ Object
-
#off(event, callback) ⇒ Object
– inherited from EventEmitter –.
-
#on(event, callback) ⇒ Object
– inherited from EventEmitter –.
-
#once(event, callback) ⇒ Object
– inherited from EventEmitter –.
Methods inherited from PlaywrightApi
#==, from_channel_owner, #initialize
Constructor Details
This class inherits a constructor from Playwright::PlaywrightApi
Instance Method Details
#after_initialize ⇒ Object
11 12 13 |
# File 'lib/playwright_api/android.rb', line 11 def after_initialize wrap_impl(@impl.after_initialize) end |
#devices ⇒ Object
6 7 8 |
# File 'lib/playwright_api/android.rb', line 6 def devices wrap_impl(@impl.devices) end |
#off(event, callback) ⇒ Object
– inherited from EventEmitter –
23 24 25 |
# File 'lib/playwright_api/android.rb', line 23 def off(event, callback) wrap_impl(@impl.off(unwrap_impl(event), unwrap_impl(callback))) end |
#on(event, callback) ⇒ Object
– inherited from EventEmitter –
17 18 19 |
# File 'lib/playwright_api/android.rb', line 17 def on(event, callback) wrap_impl(@impl.on(unwrap_impl(event), unwrap_impl(callback))) end |
#once(event, callback) ⇒ Object
– inherited from EventEmitter –
29 30 31 |
# File 'lib/playwright_api/android.rb', line 29 def once(event, callback) wrap_impl(@impl.once(unwrap_impl(event), unwrap_impl(callback))) end |