Ruben wrote: > Since no one is replying I'll update my status on the current issue. So for > some reason the cookie/cache watir functions were not working properly for me > but when I tried the same thing on my other computer with Watir 1.5.1.1166 > they started to work, somewhat. > > For cookies, it works 100% > require 'watir' > require 'thread' > require 'test/unit' > require 'test/unit/ui/console/testrunner' > require 'watir/testUnitAddons' > require 'watir/cookiemanager' > include Watir > > print > Watir::CookieManager::WatirHelper.getSpecialFolderLocation(Watir::CookieManager::WatirHelper::COOKIES) > Gives me the location of the cookie folder > Watir::CookieManager::WatirHelper.deleteSpecialFolderContents(Watir::CookieManager::WatirHelper::COOKIES) > Clears that folder > > For Cache > print > Watir::CookieManager::WatirHelper.getSpecialFolderLocation(Watir::CookieManager::WatirHelper::INTERNET_CACHE) > Gives me the location of the cookie folder > Watir::CookieManager::WatirHelper.deleteSpecialFolderContents(Watir::CookieManager::WatirHelper::INTERNET_CACHE) > This does not actually clear the cache folder! Does anyone have any idea why?? > > Thanks. Ruben,
Thanks for your report on the cookie manager. I don't believe any of us are supporting the cookiemanager any more and it will probably be removed from Watir at some future date, so that users don't get so frustrated. Bret _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general