I may eventually do that, but rather look for native webdriver solutions.
– Roni YanivJun 27 '11 at 11:26

Question has been answered, but many people on SQA cannot find answer to this problem, and are duplicating the question. Could we add more context to the question regarding the problem. For instance, this [sqa.stackexchange.com/questions/2915/… question) describes it very clearly and from more general perspective, IMHO.
– dzieciouNov 1 '12 at 7:50

Haven't looked through it all yet, but I did find a post that seems related. Also, haven't tried it out, but, have you looked at any of the fiddler libraries? Although I have plans on trying them out, it's not going to be for a few months yet.

Looks interesting, but I'm looking for a more complete solutions, maybe requiring the usage of two tools (like selenium and gson, in my case). This looks like a lot of work to accomplish this thing.
– Roni YanivJun 27 '11 at 11:25

How about writing the answer here and using the link as reference?
– IAmMilinPatelJun 13 '16 at 8:00

Using BrowserMob Proxy, we capture performance data How to use BrowserMob Proxy? Download BrowserMob Proxy 2.Start BrowserMob Proxy Create a new Project and import BrowserMob Proxy with Selenium Standalone Server Jar Run the script. After running the script, you will see the proxy server is started, and respective logs are generated. As the script stops, an HTTP achieve file is also generated with Performance Log of the desired web application. Now you can import that HAR file and see the results at pcapperf.appspot.com. It will show the fetched performance data.
– kkashyap1707Jun 14 '16 at 5:11

I've been using a combination of Charles Proxy and window.performance.getEntriesByType('resource') inside an executeScript. Performance does not capture POST data, so that is why I also use Charles. I export the Charles session as a .har file and then use a nodejs script to merge the data.

Collect window performance data, filtered to get Adobe Analytics ("b/ss"), and then just returning the name aka the GET or POST url string .