How to download a file request by javascript?

38 views
Skip to first unread message

peng...@gmail.com

unread,
Sep 23, 2021, 10:40:38 PM9/23/21
to ChromeDriver Users
https://www.barchart.com/stocks/indices/russell/russell2000?viewName=main&page=19

When I access the above URL, I see that it sends with a URL like the following.


I just want to download the content of this file (json). Can anybody let me know what is the best way to download this file via chromedriver? Thanks.

peng...@gmail.com

unread,
Sep 23, 2021, 10:53:31 PM9/23/21
to ChromeDriver Users
Just to be sure. I checked the API. But I don't find a way to retrieve the URLs implicitly access by a request (can be seen in devtools). Hence, I have this question on how to do it or whether it is possible to do it with chromedriver.

Reply all
Reply to author
Forward
0 new messages