Re: [wtr-general] Way to clear the browser cache?

2010-08-09 Thread Željko Filipin
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 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


Re: [wtr-general] Way to clear the browser cache?

2010-08-09 Thread arihan sinha
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 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.comwatir-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


[wtr-general] Way to clear the browser cache?

2010-08-07 Thread Jeff Fry
Hey y'all, does watir have a way to clear the browser cache? Either
cross-browser, or specific to a given browser?

Thanks,

-- 
Jeff Fry

http://testingjeff.wordpress.com
http://associationforsoftwaretesting.org

-- 
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