firefoxdriver

Basic Auth with Geb and FirefoxDriver

I a investing some time currently to automate integration tests and webtests, mainly using spock and, for the web test part, geb. Unfortunately I did find any (simple) working example with basic auth. I spent quite a few hours trying it and found a solution now. As stated here, it should be possible to pass username and password in your url: http://user:pass@host.tld. To avoid an alert box warning the user that the browser is going to login with the given credentitals, Firefox' property signon.autologin.proxy…

Keep reading