Solution to below: c = Selenium::WebDriver::Firefox::Profile.new c["browser.cache.memory.enable"] = false c["browser.cache.disk.enable"] = false driver = Selenium::WebDriver.for :firefox, :profile => c browser = Watir::Browser.new(driver)
On Wed, Mar 28, 2012 at 11:05 AM, Michael Pearson <[email protected]>wrote: > On Wed, Mar 28, 2012 at 6:44 AM, Tim Koopmans <[email protected]> wrote: > >> Use watir-webdriver with watir-webdriver-performance gem to get page >> breakdown from w3c navigation timing spec. Headless browser is good. You >> can also run the same for free from gridinit.com in the automation >> section. >> >> Cheers, >> Tim >> > > Excellent. watir-webdriver-performance is exactly what I was looking for. > > Yesterday I set up a jury-rigged Yahoo boomerang based solution with > embedded JS and an application API endpoint. It worked, but this is much > more elegant. > > Bonus Round: watir-webdriver loads FireFox with extensions disabled. > Hence, I can no longer use my Cache-Toggle extension to perform a series of > tests against a 'fresh' cache. How do I either (a) load FF with extensions > and watir-webdriver or (b) reset/disable the browser memory cache before > each request with FF or Chrome and watir? > > -- > Michael Pearson > > > -- Michael Pearson -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
