Python Browsermob Proxy With Ie Captures Incorrect Har?
I am currently trying to use BrowserMob Proxy (v2.1.1) + Selenium (v2.5.3) for Python (v2.6) to test page load times and output them to HAR files. I need to test both Chrome and IE
Solution 1:
You need to ensure that the cache of IE is clean before launching the browser:
desired_capabilities = webdriver.DesiredCapabilities.INTERNETEXPLORER
desired_capabilities ["ie.ensureCleanSession"] = True
driver = webdriver.Ie(capabilities=desired_capabilities )
Note that you are reading the metrics on the proxy. Thus you are only measuring the response times of each request and not the page load times.
Post a Comment for "Python Browsermob Proxy With Ie Captures Incorrect Har?"