Howdy, See info in the following thread: http://groups.google.com/group/watir-general/browse_thread/thread/30a68323e906fa9b/61535cb87df9ac6c?lnk=raot
http://rubyforge.org/snippet/detail.php?type=snippet&id=26 Regards, Darryl On Aug 9, 11:20 am, arihan sinha <arihan.si...@gmail.com> wrote: > pls try this.. and I think it would work.. its working ok for me. > > def clear_cache_folder() > Watir::CookieManager::WatirHelper.deleteSpecialFolderContents(Watir::CookieManager::WatirHelper::COOKIES) > Watir::CookieManager::WatirHelper.deleteSpecialFolderContents(Watir::CookieManager::WatirHelper::INTERNET_CACHE) > end > > 2010/8/9 Željko Filipin <zeljko.fili...@wa-research.ch> > > > On Sat, Aug 7, 2010 at 8:52 PM, Jeff Fry <jeff....@gmail.com> wrote: > > > Hey y'all, does watir have a way to clear the browser cache? > > > I do not think Watir can do it (somebody please correct me if I am wrong). > > If I needed to clear the cache, I would just delete all files from browser's > > cache directory (with ruby). > > > Željko > > -- > > watir.com - community manager > > watirpodcast.com - host > > testingpodcast.com - audio podcasts on software testing. all of them > > vidipodkast.com - pričamo o hardveru, softveru i časopisu Vidi > > > -- > > Before posting, please readhttp://watir.com/support. In short: search > > before you ask, be nice. > > > You received this message because you are subscribed to > >http://groups.google.com/group/watir-general > > To post: watir-general@googlegroups.com > > To unsubscribe: > > watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com> -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com