How can I block third-party scripts on Selenium tests?
<p>My Selenium tests are being slowed by third-party scripts that are not necessary to the tests.</p>

<p>How can I block them? Preferably I'd like to block requests to everywhere but <em>localhost</em>.</p>