Hello ALL,
I need to capture the HTTP requests that are sent from my web application, using Selenium and python please help me in achieving this.

any one please help me out.

below is my code.
please let me know where the xml will be saved
from selenium import selenium
import unittest, time, re
import xlwt
def sel_start():
global sel
sel = selenium("localhost", 4444, "iexplore", "http://gmail.com")
sel.start()
sel.captureNetworkTraffic(True)
sel.open("http://gmail.com")
time.sleep(5)
sel.wait_for_page_to_load("30000")
trafficOutput = sel.captureNetworkTraffic("xml");

def tearDown(sel):
sel.stop()

sel_start()
tearDown(sel)