Search code examples
network-programmingwebdriverhttp-request

Selenium/webdriver network monitoring


I am looking for a way to monitor and record all requests that a browser makes while being used by selenium/webdriver to test a page. Something like the network pane in chrome developer tools.


Solution

  • The BrowserMob Proxy, while still young, looks like a promising solution for this. You'll find an example of how to use it with Selenium in its README. Ruby bindings were recently released.