Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98787

Capture network requests and responses

$
0
0

I would like to capture network requests and responses in request list from a public web site url. In that case, how can i search for the specific web service requested.path/url in request list using selenium python?

As an example: from seleniumwire import webdriver from seleniumrequests import Chrome

driver.get('publicwebsite.html')
for request in driver.requests:
if request.response:    
    print(request.path.find('webserviceURL.com'))

Viewing all articles
Browse latest Browse all 98787

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>