Capture the URL in the javascript initiated HTTP GET/POST requests using selenium -


i'm using selenium automating procedure use on site.

when press on specific element on site runs complex javascript code downloads csv file using http request. can see url of request looks like: www.somesite.com/somepage.php?token=rapo09834hrolq340hgie309w&....

my question is: how can token in url selenium? (i need executing other http requests extracting more data site)

i using firefox driver on windows.

i tried search html, js, cookies site, token not there. (its generated javascript code before http request)

i understand kind of session id token javascript generated http requests using same token during session.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -