Hi Vikash, Can you please clarify what you want to do? What I think is, there is a browser and you want to attach to it? Correct? But how you open that browser is my question?
Regards, Angrez On 4/14/07, VIKASH KUMAR <[EMAIL PROTECTED]> wrote:
I am trying to attach to a browser using title, If I am using watir, I can just attach to a browser using: require 'watir' ie = Watir::IE.attach(:title,"Google") But, In case of firewatir, I am facing problem, i.e. when I use : require 'firewatir' ff = FireWatir::Firefox.attach(:title,"Google") I am getting the below error message: NoMethodError: undefined method `attach' for FireWatir::Firefox:Class But, with some changes with the code I can attach to some another browser: require 'firewatir' ff = FireWatir::Firefox.start("www.yahoo.com") ff_new = ff.attach(:title,"Google") But, I don't want to open a browser, my requirement is to just attach to the existing browser, is there is some way of doing this, as we can do with "watir". Please, help me out. Thanks in advance Vikash ------------------------------ Check out what you're missing if you're not on Yahoo! Messenger<http://us.rd.yahoo.com/mail/in/ymessenger/*http://in.messenger.yahoo.com/> _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general