During a pairing session, we used Launchy to open the browser during an RSpec feature test to help debug.
By adding Launchy.open
and binding.pry
, we are able to access the page via the browser to check interactions.
Launchy.open(current_url)
binding.pry
The binding.pry
gives access to the Ruby variables and it pauses the test allowing the interactions in the browser.