Last active
December 3, 2018 23:54
-
-
Save jamesr2323/3bc0057de51c328feac3c5952231b016 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
network_check = driver.execute_script(""" | |
return performance.getEntries() | |
.filter(e => e.entryType==='navigation' || e.entryType==='resource') | |
.map(e=> ([e.name, e.transferSize])); | |
""") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment