ignore me. it was damn browser popup blocker.

i need to sleep!

On 21 May 2010 15:47, 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].
For more options, visit this group at 
http://groups.google.com/group/nwrug-members?hl=en.

Reply via email to