Class: Playwright::AndroidSocket

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

Overview

‘AndroidSocket` is a way to communicate with a process launched on the `AndroidDevice`. Use [`method: AndroidDevice.open`] to open a socket.

Instance Method Summary collapse

Methods inherited from PlaywrightApi

#initialize, unwrap, wrap

Constructor Details

This class inherits a constructor from Playwright::PlaywrightApi

Instance Method Details

#closeObject

Closes the socket.

Raises:

  • (NotImplementedError)


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

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

#write(data) ⇒ Object

Writes some ‘data` to the socket.

Raises:

  • (NotImplementedError)


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

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