質問

When I do js: true test (rspec+capybara+selenium) it runs the browser and all steps are visible. I wish to be able to stop in some point and look around the page. Is there a way to do that? For non js: true tests save_and_open_page from gem launchy works well but here it's useless.

役に立ちましたか?

解決

Nothing is better than putting a sleep or a debugger breakpoint where you want to stop, then you can look around the page.

Also note that your browser will be loaded by capybara without extensions, so you cannot use firebug or other tools (but perhaps the native developer tools of firefox remain available I'm not sure)

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top