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.

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers

500 comments

94k users

Browse Categories

...