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. _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
