WebDriverThreadLocalContainer implements WebDriverContainer { @Override @CheckReturnValue public boolean hasWebDriverStarted() { WebDriver webDriver = threadWebDriver.get(currentThread().getId()); return webDriver != null; }  @Override void addListener(WebDriverEventListener listener); @Override void setWebDriver(WebDriver webDriver); @Override void setWebDriver(WebDriver webDriver, @Nullable SelenideProxyServer selenideProxy); @Override void setWebDriver(WebDriver webDriver, @Nullable SelenideProxyServer selenideProxy, DownloadsFolder browserDownloadsFolder); @Override void resetWebDriver(); @Override void setProxy(Proxy userProvidedProxy); @Override @CheckReturnValue boolean hasWebDriverStarted(); @Override @CheckReturnValue @Nonnull WebDriver getWebDriver(); @Override @CheckReturnValue @Nonnull WebDriver getAndCheckWebDriver(); @Nonnull @Override DownloadsFolder getBrowserDownloadsFolder(); @Override @CheckReturnValue @Nullable SelenideProxyServer getProxyServer(); @Override void closeWindow(); @Override void closeWebDriver(); @Override void clearBrowserCache(); @Override @CheckReturnValue @Nonnull String getPageSource(); @Override @CheckReturnValue @Nonnull String getCurrentUrl(); @Override @CheckReturnValue @Nonnull String getCurrentFrameUrl();  }
@Test void hasWebDriverStarted_false_ifNoDriverBoundToCurrentThread() { assertThat(container.hasWebDriverStarted()).isFalse(); }