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.5.1 lib/generators/templates/automation/partials/visit_method.tt
ruby_raider-0.5.0 lib/generators/templates/automation/partials/visit_method.tt
ruby_raider-0.4.9 lib/generators/templates/automation/partials/visit_method.tt
ruby_raider-0.4.8 lib/generators/templates/automation/partials/visit_method.tt
ruby_raider-0.4.7 lib/generators/templates/automation/partials/visit_method.tt
ruby_raider-0.4.6 lib/generators/templates/automation/partials/visit_method.tt
ruby_raider-0.4.5 lib/generators/templates/automation/partials/visit_method.tt
ruby_raider-0.4.4 lib/generators/templates/automation/partials/visit_method.tt
ruby_raider-0.4.3 lib/generators/templates/automation/partials/visit_method.tt
ruby_raider-0.4.2 lib/generators/templates/automation/partials/visit_method.tt
ruby_raider-0.4.1 lib/generators/templates/automation/partials/visit_method.tt
ruby_raider-0.4.0 lib/generators/templates/automation/partials/visit_method.tt
ruby_raider-0.3.9 lib/generators/templates/automation/partials/visit_method.tt
ruby_raider-0.3.8 lib/generators/templates/automation/partials/visit_method.tt
ruby_raider-0.3.7 lib/generators/templates/automation/partials/visit_method.tt
ruby_raider-0.3.6 lib/generators/templates/automation/partials/visit_method.tt
ruby_raider-0.3.5 lib/generators/templates/automation/partials/visit_method.tt
ruby_raider-0.3.4 lib/generators/templates/automation/partials/visit_method.tt
ruby_raider-0.3.3 lib/generators/templates/automation/partials/visit_method.tt
ruby_raider-0.3.2 lib/generators/templates/automation/partials/visit_method.tt