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)


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

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

#write(data) ⇒ Object

Writes some ‘data` to the socket.

Raises:

  • (NotImplementedError)


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

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