0

I'm trying to get the page load time. I'm using BrowserMob Proxy with selenium to generate the HAR file and haralyzer to read the HAR file. Details and error log is here,

Please suggest if there are any other way to achieve this.

pr4bh4sh
  • 604
  • 12
  • 18

1 Answers1

0

You can try to use requests for this purpose as follow:

import requests
requests.get('http://requiredURL.com').elapsed.total_seconds()

This will return number of seconds that passed to load required page

Andersson
  • 47,234
  • 13
  • 52
  • 101