Squid + Selenium == Win
Posted Sat, 02 Sep 2006
I wrote one test. This test visits technorati's homepage, searches for 'barcamp' and verifies that a text string exists on the search results.
- Tell Firefox to use my squid proxy as an HTTP proxy
- Visit http://www.technorati.com/_selenium/
- Run the tests
The squid proxy intercepts any requests for '/_selenium' and redirects them internally to my selenium web server. This has been tested in IE, Firefox, and Safari with 100% success over vanilla http. HTTPS probably doesn't work for obvious "Duh, it's encrypted" reasons. Squid can fix this aswell with ssl reverse proxying.
If I run my single test, the result is something that looks like the following (Firefox and IE, respectively):