Sha256: 5ede118f39294dc7deff27df31d614f28baab8fc92182ad680b264f93e43ec1b

Contents?: true

Size: 297 Bytes

Versions: 9

Compression:

Stored size: 297 Bytes

Contents

<% case automation
 when 'selenium' %>
screenshot = driver.save_screenshot("#{temp_folder}/#{example_name}.png")
<% when 'watir' %>
screenshot = browser.screenshot.save("#{temp_folder}/#{example_name}.png")
<% else %>
screenshot = driver.screenshot("#{temp_folder}/#{example_name}.png")
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ruby_raider-0.9.3 lib/generators/templates/helpers/partials/screenshot.tt
ruby_raider-0.9.2 lib/generators/templates/helpers/partials/screenshot.tt
ruby_raider-0.9.1 lib/generators/templates/helpers/partials/screenshot.tt
ruby_raider-0.9.0 lib/generators/templates/helpers/partials/screenshot.tt
ruby_raider-0.8.9 lib/generators/templates/helpers/partials/screenshot.tt
ruby_raider-0.8.8 lib/generators/templates/helpers/partials/screenshot.tt
ruby_raider-0.8.6 lib/generators/templates/helpers/partials/screenshot.tt
ruby_raider-0.8.5 lib/generators/templates/helpers/partials/screenshot.tt
ruby_raider-0.8.3 lib/generators/templates/helpers/partials/screenshot.tt