public void whenBrowserIsCreatedThenCouldBeReused(@Drone @Reusable RemoteWebDriver driver)
throws UnableReuseSessionException {
driver.navigate().to(SERVER_URL.toString());
new AugmentingEnhancer().deenhance(driver, Reusable.class); // without deenhancing we can't serialize capabilities
Capabilities reusedCapabilities = serializeDeserialize(ReusedSession.createReusableCapabilities(driver
.getCapabilities()));
SessionId reusedSessionId = new SessionId(serializeDeserialize(driver.getSessionId().toString()));