Sha256: f05483d0d5c34c13e7e1debd673a0846007bb3f0b7681d990c78f0c5900db0e7
Contents?: true
Size: 798 Bytes
Versions: 33
Compression:
Stored size: 798 Bytes
Contents
# You can append `in the browser session "name"` to any other step to execute # the step in a different browser session. # # You may need to update other steps to allow multiple sessions (e.g. your # authentication steps have to support multiple logged in users). # More details [here](https://makandracards.com/makandra/474480-how-to-make-a-cucumber-test-work-with-multiple-browser-sessions). When /^(.*) in the browser session "([^"]+)"$/ do |nested_step, session_name| Capybara.using_session(session_name) do step(nested_step) end end.overridable(priority: 5) # nodoc When /^(.*) in the browser session "([^"]+)":$/ do |nested_step, session_name, table_or_string| Capybara.using_session(session_name) do step("#{nested_step}:", table_or_string) end end.overridable(priority: 5)
Version data entries
33 entries across 33 versions & 1 rubygems