[Wtr-development] [JIRA] Commented: (WTR-456) Firewatir fails to start firefox

Jonas Shoor (JIRA) watirjira at gmail.com
Mon Jan 3 10:59:19 EST 2011


    [ http://jira.openqa.org/browse/WTR-456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20075#action_20075 ] 

Jonas Shoor commented on WTR-456:
---------------------------------

I found that firewatir was not able to start firefox on windows with ruby 1.9.2 as well. 

Changing line 72 in firefox.rb from:
@t = Thread.new { system("#{bin} -jssh #{profile_opt}") }
to:
@t = Thread.new { system(bin, '-jssh',  profile_opt) }

seems to resolve the problem.


> Firewatir fails to start firefox
> --------------------------------
>
>                 Key: WTR-456
>                 URL: http://jira.openqa.org/browse/WTR-456
>             Project: Watir
>          Issue Type: Bug
>          Components: FireWatir
>    Affects Versions: 1.6.5
>         Environment: ruby 1.8.6, 1.9.1 and ruby 1.9.2 mingw from http://rubyinstaller.org/
>            Reporter: Kevin DeRossett
>            Priority: Critical
>
> path_from_registry in firefox.rb line 1027ish
> is:
> return entry.last
> but should be:
> return "\"#{entry.last}\""
> without the quotes firefox will not start from the path c:\Program Files\... or c:\Program Files (x86)\... the default location.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.openqa.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the Wtr-development mailing list