ClearBrowserCacheAction extends AbstractSeleniumAction { @Override protected void execute(SeleniumBrowser browser, TestContext context) { browser.getWebDriver().manage().deleteAllCookies(); } ClearBrowserCacheAction(Builder builder);   }
@Test public void testExecute() throws Exception { ClearBrowserCacheAction action = new ClearBrowserCacheAction.Builder() .browser(seleniumBrowser) .build(); action.execute(context); verify(webDriverOptions).deleteAllCookies(); }