Hi,
I can't get a query list, it returns an empty value. For the sake of purity of the experiment I tried to use the example from the documentation:
from seleniumwire import webdriver # Import from seleniumwire
# Create a new instance of the Chrome driver
driver = webdriver.Chrome()
# Go to the Google home page
driver.get('https://www.google.com')
<img width="1463" alt="Screenshot 2023-05-29 at 6 34 12 PM" src="https://github.com/wkeeling/selenium-wire/assets/74026505/cb45d640-6d34-4fd3-9ccb-ea79281763b1">
# Access requests via the `requests` attribute
for request in driver.requests:
if request.response:
print(
request.url,
request.response.status_code,
request.response.headers['Content-Type']
)
but the result is the same:
the result for driver.requests is empty.
Chrome: Version 112.0.5615.137
MacOS: Ventura 13.4
Hi, I can't get a query list, it returns an empty value. For the sake of purity of the experiment I tried to use the example from the documentation:
but the result is the same: the result for driver.requests is empty.
Chrome: Version 112.0.5615.137 MacOS: Ventura 13.4