settings.profile().addExtension(oexSource);
TestDriver driver = new TestDriverBuilder().using(settings).get();
assertNotNull(driver);
assertTrue("Expected Opera to run", driver.isRunning());
driver.navigate().to(pages.oex);
try {
// The dummy extension sets a HTML attribute on the <html> element.
By by = By.cssSelector("html[isoexinstalled759='yes']");
(new WebDriverWait(driver, 2)).until(ExpectedConditions.presenceOfElementLocated(by));