@Test
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
    ReusableCapabilities reusedCapabilities = serializeDeserialize(ReusedSession.createReusableCapabilities(driver
        .getCapabilities()));
    SessionId reusedSessionId = new SessionId(serializeDeserialize(driver.getSessionId().toString()));
    RemoteWebDriver reusedDriver = ReusableRemoteWebDriver.fromReusedSession(HUB_URL, reusedCapabilities.getDesiredCapabilities(),
        reusedSessionId);
    reusedDriver.navigate().to(HUB_URL.toString());
}