[ 
http://jira.openqa.org/browse/WTR-384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zeljko closed WTR-384.
----------------------

    Resolution: Won't Fix

If this is still a problem, please report it here: 
https://github.com/watir/watir-classic/issues

> FireWatir 1.1 now launches new browser on linux/darwin
> ------------------------------------------------------
>
>                 Key: WTR-384
>                 URL: http://jira.openqa.org/browse/WTR-384
>             Project: Watir
>          Issue Type: Bug
>          Components: FireWatir
>    Affects Versions: Open QA Migration
>         Environment: Linux
>            Reporter: Zeljko
>
> - moved from http://code.google.com/p/firewatir/issues/detail?id=46
> Issue 46:     FireWatir 1.1 now launches new browser on linux/darwin
> 1 person starred this issue and may be notified of changes.
> Status:       New
> Owner:         ----
> Type-Defect
> Priority-Medium
> Reported by glenn.gillen, Oct 14, 2007
> Linux behaviour has changed to now launch a new firefox instance/window on
> FireWatir::initialize. 
> Can contructor be changed to accept a parameter to prevent this and require
> the user to have launched firefox manually? I have a script that
> recursively parses files in a directory and this is now quite resource
> intensive with all of these firefox instances.
> ---
> Comment 1 by angrez, Oct 14, 2007
> So what I understood is, first you process/parse the files and then start 
> Firefox
> manually?
> You can use waitTime parameter to actually wait till processing is over. Or 
> you can
> do the processing first and then create new instance of Firefox. I may be 
> wrong if I
> am missing something completely here.
> ---
> Comment 2 by glenn.gillen, Oct 15, 2007
> The problem is:
> @f = FireWatir::Firefox.new
> calls `firefox -jssh`
> Which will open a new instance of firefox. Previously (at least on linux 
> looking at the old code) this wasn't 
> executed and the user was responsible for making sure firefox was already 
> open with jssh enabled. I'd prefer 
> to be able to enforce the old method as a parameter then I can ensure only 
> one firefox window is ever open. 
> `firefox -jssh` always opens a new window.
> ---
> Comment 3 by ghimus, Oct 22, 2007
> You can use attach() to connect to an already running instance.
> Description:
>   Used for attaching pop up window to an existing Firefox window, either by 
> url or title.
>   ff.attach(:url, 'http://www.google.com'
>   ff.attach(:title, 'Google')
> ---
> Comment 4 by angrez, Oct 22, 2007
> Hi Ghimus,
> I am not sure if what you saying works with Firewatir. As far as I know 
> Firewatir
> can't connect to an existing Firefox instance, which is different from a 
> window pop up.

-- 
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

        
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to