Sha256: 97668832364a605657deab818fc4b5be5cea3e0389a7de3f09ff093dac8b2697

Contents?: true

Size: 321 Bytes

Versions: 1

Compression:

Stored size: 321 Bytes

Contents

When /^I press the browser back button$/ do
  Capybara.current_session.evaluate_script <<-JS
    history.back();
  JS

  And %{I wait for load the page}
end

When /^I press the browser forward button$/ do
  Capybara.current_session.evaluate_script <<-JS
    history.forward();
  JS

  And %{I wait for load the page}
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rwiki-0.2.5 features/step_definitions/history_steps.rb