GoogleChromeLabs / selenium-assistant

A node module that helps using browsers with selenium
https://googlechromelabs.github.io/selenium-assistant/
Apache License 2.0
91 stars 26 forks source link

Is there a add-on similar to FireFox HARExport in Chrome? #67

Closed SivaKesava1 closed 8 years ago

SivaKesava1 commented 8 years ago

Hi all, I am trying to download HAR from chrome using Selenium Webdriver using python script (code). Firefox has a nice add-on Firefox HarExport to automate this process of downloading HAR from browser. Usage of Firefox HARExport with Selenium driver. I am using Selenium chrome driver to open chrome browser and then manually open networks tab and finally use "Save as HAR with content" or "Copy all as HAR".Can't this process be automated as it is done for Firefox? How does chrome deals with this issue? I don't want to use proxies like BMP because they don't work with QUIC packets. Anyone having any idea on how to automate the download of HAR from chrome please comment .I have been searching for this issue for a long time.

gauntface commented 8 years ago

Sorry I've not got any expierience of HAR's but it might be worth asking on stackoverflow if you haven't already.

This may be something that the Chrome debug protocol gives you access to (it's the protocol used by DevTools), but it will be specific to Chrome.

SivaKesava1 commented 8 years ago

Can you explain a bit more about your last sentence? I am working specifically on chrome only.