Which browser? Maybe you need to upgrade browser's selenium plugin, or browser's been updated and you've managed to find incompatibility?
Not seen the error m'self.... Thanks and regards, Francis Follow me on twitter https://twitter.com/fjfish Blog at http://www.francisfish.com (you can also buy my books from there!) CV http://www.pharmarketeer.com/francis.html Comfort the frightened, coach the clueless and teach the uninformed. Seth Godin On Fri, May 21, 2010 at 3:47 PM, Andy Goundry <[email protected]> wrote: > Hey > > I've come back after a while away to using webrat and selenium and for > some reason i'm getting the following error: > > "Failed to start new browser session: Error while launching browser > (Selenium::CommandError)" > > Webrat correctly opens the selenium RC browser window but that browser > then fails to open another browser to control. > > Anyone had this issue? > > I'm currently using webrat and selenium in :external mode as it's not > part of an app, but is instead testing a remote app. > > Here's my features/support/env.rb file's contents: > > ------- > > require "webrat" > require "lib/cucumber_extensions" > > WEBRAT_MODE = (ENV["ADAPTER"] || :selenium).to_sym > > Webrat.configure do |config| > config.mode = WEBRAT_MODE > config.selenium_browser_key = "safari" > config.application_framework = :external > end > > World do > if WEBRAT_MODE == :selenium > session = Webrat::SeleniumSession.new > session.extend(Webrat::Methods) > session.extend(Webrat::Selenium::Methods) > session.extend(Webrat::Selenium::Matchers) > session.extend(CucumberExtensions::WebratExtensions) > session > end > end > > ------- > > Cheers, > > Andy > > -- > You received this message because you are subscribed to the Google Groups > "NWRUG" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<nwrug-members%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/nwrug-members?hl=en. > > -- You received this message because you are subscribed to the Google Groups "NWRUG" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nwrug-members?hl=en.
