I'm using selenium
to open a webpage. When the page is opened through firefox
it downloads a script and send few requests which is visible through the network console of the browser. I want to check in my program what other requests are made when all the scripts are rendered. Is it possible to do it in selenium ?
Here's my code:
proxy = Proxy({
'proxyType': ProxyType.MANUAL,
'httpProxy': 192.168.1.1:8080,
'ftpProxy':192.168.1.1:8080,
'sslProxy': 192.168.1.1:8080,
'noProxy': ''
})
display = Display(visible=0, size=(800, 600))
display.start()
driver = webdriver.Firefox(proxy=proxy)
driver.get("http://docs.python-requests.org/en/master/user/advanced/")
driver.quit()
display.stop()