I need to visit a web page and then click on a link. That link sends an XHR request and the server sends an XHR response. I need to capture that response and parse it. I used Firebug to view the XHR request and response but I need that response using Python.
I am trying to do it with selenium but can't find anything in selenium docs nor on google.
There are multiple similar questions here on stackoverflow but either they are answered regarding javascript or have no answer at all.