Class: Stabs::Selenium::WebDriver

Inherits:
Object
  • Object
show all
Defined in:
lib/stabs/selenium-web_driver.rb

Instance Method Summary collapse

Instance Method Details

#save_screenshot(file_path) ⇒ Object



4
5
6
7
8
# File 'lib/stabs/selenium-web_driver.rb', line 4

def save_screenshot(file_path)
  File.open(file_path, 'w') do |f|
    f.puts 'abcdefg'
  end
end