@After public void reset() { OperaIntervals.HANDSHAKE_TIMEOUT.setValue(DEFAULT_HANDSHAKE_TIMEOUT); environment.unset(OperaBinary.OPERA_PATH_ENV_VAR); }
@Before public void setup() throws IOException { OperaIntervals.HANDSHAKE_TIMEOUT.setValue(new Duration(2, TimeUnit.SECONDS)); profileDirectory = new TemporaryFolder().newFolder(); capabilities.setCapability(PROFILE.getCapability(), profileDirectory.getPath()); }