Method: Selenium::Client::GeneratedDriver#capture_screenshot_to_string
- Defined in:
- lib/selenium/client/legacy_driver.rb
permalink #capture_screenshot_to_string ⇒ Object
Capture a PNG screenshot. It then returns the file as a base 64 encoded string.
1646 1647 1648 |
# File 'lib/selenium/client/legacy_driver.rb', line 1646 def capture_screenshot_to_string() return string_command("captureScreenshotToString", []) end |