firebug / har-export-trigger

Trigger HAR export any time directly from within a page.
Other
53 stars 13 forks source link

HAR file not exported for some page using Selenium #38

Open marty90 opened 8 years ago

marty90 commented 8 years ago

Hello, I'm using Selenium to automate HAR creation. I've a very simple setup (available at https://github.com/marty90/WebTrafficGenerator):

  1. Selenium requests the page
  2. A simple Javascript is executed to invoke HAR.triggerExport function. Everything works except for some web page. Sometimes the invocation to triggerExport ()is ineffective and no HAR file is created. It seems to appear more frequently for some website (e.g., YouTube homepage). Does anybody know a workaround for this?
xmhubj commented 7 years ago

I'm also experiencing this issue for some web pages.