Method: Selenium::Client::GeneratedDriver#capture_screenshot_to_string

Defined in:
lib/selenium/client/legacy_driver.rb

#capture_screenshot_to_stringObject

Capture a PNG screenshot. It then returns the file as a base 64 encoded string.

[View source]

1646
1647
1648
# File 'lib/selenium/client/legacy_driver.rb', line 1646

def capture_screenshot_to_string()
    return string_command("captureScreenshotToString", [])
end