[rspec-users] Selenium+Autotest: how to run browser in background?

Justin Ko jko170 at gmail.com
Mon Jun 18 15:43:08 UTC 2012


On Jun 14, 2012, at 12:11 PM, Joshua Muheim wrote:

> Hey guys
> 
> After hours of hard work I finally managed to set up my development
> environment to run cucumber scenarios using autotest and selenium.
> 
> What's a bit bugging is the fact that Firefox always jumps to the
> foreground when Autotest does its job. How can I keep Firefox in the
> background so that I can continue with my work without being
> interrupted?
> 
> Thanks!
> 
> -- 
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

That is how selenium works - it needs to fire up a browser (firefox).

Take a look at the capybara-webkit gem.



More information about the rspec-users mailing list