Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in Python by (120 points)
my code:

from selenium import webdriver

from selenium.webdriver.common.desired_capabilities import DesiredCapabilities

caps = DesiredCapabilities.CHROME

caps['loggingPrefs'] = {'performance': 'ALL'}

driver = webdriver.Chrome(desired_capabilities=caps)

driver.get('https://www.google.com')

for entry in driver.get_log('performance'):

    print(entry)

driver.quit()

Please log in or register to answer this question.

Browse Categories

...