Forum: RSpec cucumber and selenium

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
slavix t. (Guest)
on 2008-12-21 04:11
hello,
I am starting out with cucumber and selenium. Whenever I run a rake
features on my features or on cucumber/examples/selenium/features too
many browser windows start... for example if run cucumber
examples/selenium/features 3 browser windows get launched. I commented
out browser closing after tests to see exactly how many windows and for
a simple google search feature I ended up with 3 windows. If I run it
again I get 3 more..
After do
  #@browser.stop
end

I only need one window for running tests and one for the selenium
dashboard. Is there a way to stop this to save time and resources?

thank you.
This topic is locked and can not be replied to.