2

I'm trying to access the network tab information from a chrome page that was launched with ChromeDriver in C#.

enter image description here

I would like total data transferred and page load time at the least...

I've been messing around with setting different ChromeOptions and DesiredCapabilities, much to no success. The only thing I've gotten to work so far is executing a script and converting the results to a long.

Convert.ToInt64(((IJavaScriptExecutor)ChromeDriver).ExecuteScript("return window.performance.timing.navigationStart"));

however, I'd like to not do it this way, if that's possible... Thanks in advance!

Code Rocker
  • 380
  • 3
  • 15
Brian Corbin
  • 247
  • 1
  • 11

0 Answers0