Class: Playwright::AndroidSocket
- Inherits:
-
PlaywrightApi
- Object
- PlaywrightApi
- Playwright::AndroidSocket
- 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
-
#close ⇒ Object
Closes the socket.
-
#write(data) ⇒ Object
Writes some ‘data` to the socket.
Methods inherited from PlaywrightApi
Constructor Details
This class inherits a constructor from Playwright::PlaywrightApi
Instance Method Details
#close ⇒ Object
Closes the socket.
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.
12 13 14 |
# File 'lib/playwright_api/android_socket.rb', line 12 def write(data) raise NotImplementedError.new('write is not implemented yet.') end |