// TODO Stefan; Refactor out the direct use of FirefoxDriver
EmbeddedBrowser browser =
WebDriverBackedEmbeddedBrowser.withDriver(new FirefoxDriver(), ImmutableSortedSet.<String> of(), 200, 300);
File index = new File(INDEX);
String html = "";
browser.goToUrl(new URL("file://" + index.getAbsolutePath()));
html = browser.getStrippedDom();
assertNotNull(html);
Document doc = DomUtils.asDocument(html);
assertNotNull(doc);