Can I capture how fast the page loads during testing?

Hi,

I would like to see how fast the page loads and capture that value. Is there a command that will do that?

Please advice.

Thanks!

Yes you can but not using actual Selenium Webdriver script. Instead you call a Javascript function and calculate afterward