WebDriver driver = new MockedDriver();
driver.get("/mocks/pages/galen4j-pagedump.json");
GalenPageAction pageAction = new GalenPageActionDumpPage("Test page", "/specs/galen4j/pagedump.spec", pageDumpPath);
pageAction.execute(null, new SeleniumBrowser(driver), null, null);
assertFileExists(pageDumpPath + "/page.json");
assertFileExists(pageDumpPath + "/page.html");