class Playwright::AndroidDevice

def screenshot(path: nil)

Returns the buffer with the captured screenshot of the device.
def screenshot(path: nil)
  wrap_impl(@impl.screenshot(path: unwrap_impl(path)))
end