Joshua Muheim
2012-Jun-14 18:11 UTC
[rspec-users] Selenium+Autotest: how to run browser in background?
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/.
Justin Ko
2012-Jun-18 15:43 UTC
[rspec-users] Selenium+Autotest: how to run browser in background?
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-usersThat is how selenium works - it needs to fire up a browser (firefox). Take a look at the capybara-webkit gem.
Joshua Muheim
2012-Jun-22 09:38 UTC
[rspec-users] Selenium+Autotest: how to run browser in background?
Well, didn''t find a solution, but using the :chrome driver lets Chrome be activated in the background... See http://collectiveidea.com/blog/archives/2011/09/27/use-chrome-with-cucumber-capybara/ -- Posted via http://www.ruby-forum.com/.
Matt Wynne
2012-Jul-05 09:13 UTC
[rspec-users] Selenium+Autotest: how to run browser in background?
On 22 Jun 2012, at 10:38, Joshua Muheim wrote:> Well, didn''t find a solution, but using the :chrome driver lets Chrome > be activated in the background... > > See > http://collectiveidea.com/blog/archives/2011/09/27/use-chrome-with-cucumber-capybara/capybara-webkit is best for this. It''s fast and you never see it. cheers, Matt -- Freelance programmer & coach Author, http://pragprog.com/book/hwcuc/the-cucumber-book Founder, http://www.relishapp.com/ Twitter, https://twitter.com/mattwynne -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20120705/976b4dd2/attachment-0001.html>
Maybe Matching Threads
- Assertions for asynchronous behaviour
- testing framework for test automation
- does jruby rspec have to use selenium?
- For Your Own Info: Rails 2.3.2 is incompatible with Cucumber (0.8.5), Capybara (0.3.9) and Selenium-webdriver (0.0.17)
- rspec 1.3.2, Rails 2.3.14 - plugins not loading