Selectable browsers

Browsers are now selectable, and changes made to cope with the differences between HtmlUnit and PhantomJs.