# File lib/selenium/client/legacy_driver.rb, line 1639 def capture_screenshot(filename) remote_control_command("captureScreenshot", [filename,]) end