Class: Playwright::Android

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

Instance Method Summary collapse

Methods inherited from PlaywrightApi

#==, from_channel_owner, #initialize

Constructor Details

This class inherits a constructor from Playwright::PlaywrightApi

Instance Method Details

#after_initializeObject



11
12
13
# File 'lib/playwright_api/android.rb', line 11

def after_initialize
  wrap_impl(@impl.after_initialize)
end

#devicesObject



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