Sha256: 368f958aaaf5b9ffd9230eaa77eade748761d33a0e5e04d90b23bdbeefa19d36

Contents?: true

Size: 214 Bytes

Versions: 69

Compression:

Stored size: 214 Bytes

Contents

<% if %w[selenium watir].include? automation %>
  def visit(*page)
    <% if automation == 'selenium' %>@driver.navigate.to full_url(page.first) <% else %>@browser.goto full_url(page.first)<% end %>
  end
<% end %>

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
ruby_raider-0.9.3 lib/generators/automation/templates/partials/visit_method.tt
ruby_raider-0.9.2 lib/generators/automation/templates/partials/visit_method.tt
ruby_raider-0.9.1 lib/generators/automation/templates/partials/visit_method.tt
ruby_raider-0.9.0 lib/generators/automation/templates/partials/visit_method.tt
ruby_raider-0.8.9 lib/generators/automation/templates/partials/visit_method.tt
ruby_raider-0.8.8 lib/generators/automation/templates/partials/visit_method.tt
ruby_raider-0.8.6 lib/generators/automation/templates/partials/visit_method.tt
ruby_raider-0.8.5 lib/generators/automation/templates/partials/visit_method.tt
ruby_raider-0.8.3 lib/generators/automation/templates/partials/visit_method.tt
ruby_raider-0.8.2 lib/generators/automation/templates/partials/visit_method.tt
ruby_raider-0.8.1 lib/generators/automation/templates/partials/visit_method.tt
ruby_raider-0.8.0 lib/generators/automation/templates/partials/visit_method.tt
ruby_raider-0.7.9 lib/generators/automation/templates/partials/visit_method.tt
ruby_raider-0.7.8 lib/generators/automation/templates/partials/visit_method.tt
ruby_raider-0.7.7 lib/generators/automation/templates/partials/visit_method.tt
ruby_raider-0.7.6 lib/generators/automation/templates/partials/visit_method.tt
ruby_raider-0.7.5 lib/generators/automation/templates/partials/visit_method.tt
ruby_raider-0.7.4 lib/generators/automation/templates/partials/visit_method.tt
ruby_raider-0.7.3 lib/generators/automation/templates/partials/visit_method.tt
ruby_raider-0.7.2 lib/generators/automation/templates/partials/visit_method.tt