Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 14448

"Copy as Fetch" using selenium/selenium-wire python chrome dev tools

$
0
0

i tried using selenium-wire and python to fetch data from network callsso far i was able to fetch the url from which i want to fetch data using below code

for request in driver.requests:if request.response:if request.url.startswith("https://example.com"):print(request.response)

now i want to do "Copy as fetch" in that network url as shown in screenshot below

link to the copy as fetch option

i tried below code to to "Copy as fetch" but it didnt worked

for request in driver.requests:if request.response:if request.url.startswith("https://example.com"):print(request.response)


Viewing all articles
Browse latest Browse all 14448

Trending Articles