Through Selenium in the Python language, I am working on testing the website, and I was able to access the link for the Request, and I want to access the Payload. Attached is an image that shows
enter image description here
driver = webdriver.Chrome(options=option)
driver.get("https://www.example.com")
network_entries = driver.execute_script(
"return window.performance.getEntriesByType('resource');")
for entry in network_entries:
target_url = entry['name']
if("http://fonts.googleapis.com/css?family=Open" in target_url):
print("URL:", target_url)
# need print payload !!
#print("PAYLOAD:", payload)