[wtr-general] Re: How to delete cookies in Firefox through firewatir script?

2009-08-17 Thread George
Hi, Here's a variation of a previous post: require 'fileutils' class Cookies def delete(dir= "C:\\Documents and Settings\\#{ENV['USERNAME']}\ \Cookies") # or wherever your cookies are downloaded to (can be browser specific) FileUtils.rm_rf dir end end cookies = Cookies.new cookies.d

[wtr-general] Re: How to delete cookies in Firefox through firewatir script?

2009-08-17 Thread Angrez Singh
As of now there is no method/way to remove the cookies using Firewatir. If you want that you can open a new JIRA ticket for that. Thanks, Angrez On Mon, Aug 17, 2009 at 4:25 PM, Raveendran P wrote: > Hi Mita, > > Hope this code helps you.. > > require 'fileutils' > dir= "C:\\Documents and Setti

[wtr-general] Re: How to delete cookies in Firefox through firewatir script?

2009-08-17 Thread Raveendran P
Hi Mita, Hope this code helps you.. require 'fileutils' dir= "C:\\Documents and Settings\\raveendran\\Cookies" FileUtils.rm_rf dir Thanks On Mon, Aug 17, 2009 at 4:04 PM, Maumita wrote: > > Hi, > > How to delete cookies in Firefox through firewatir script? > > Thanks > Maumita > > > -- Re