Interface WebDriverContainer

All Known Implementing Classes:
WebDriverThreadLocalContainer

@ParametersAreNonnullByDefault public interface WebDriverContainer
  • Method Details

    • addListener

      void addListener(org.openqa.selenium.support.events.WebDriverListener listener)
    • removeListener

      void removeListener(org.openqa.selenium.support.events.WebDriverListener listener)
    • setWebDriver

      void setWebDriver(org.openqa.selenium.WebDriver webDriver)
    • setWebDriver

      void setWebDriver(org.openqa.selenium.WebDriver webDriver, @Nullable SelenideProxyServer selenideProxy)
    • setWebDriver

      void setWebDriver(org.openqa.selenium.WebDriver webDriver, @Nullable SelenideProxyServer selenideProxy, DownloadsFolder browserDownloadsFolder)
    • getWebDriver

      @CheckReturnValue @Nonnull org.openqa.selenium.WebDriver getWebDriver()
    • getProxyServer

      @CheckReturnValue @Nonnull SelenideProxyServer getProxyServer()
    • setProxy

      void setProxy(@Nullable org.openqa.selenium.Proxy webProxy)
    • getAndCheckWebDriver

      @CheckReturnValue @Nonnull org.openqa.selenium.WebDriver getAndCheckWebDriver()
    • getBrowserDownloadsFolder

      @CheckReturnValue @Nullable DownloadsFolder getBrowserDownloadsFolder()
    • closeWindow

      void closeWindow()
    • closeWebDriver

      void closeWebDriver()
    • hasWebDriverStarted

      boolean hasWebDriverStarted()
    • using

      void using(org.openqa.selenium.WebDriver driver, @Nullable SelenideProxyServer proxy, @Nullable DownloadsFolder downloadsFolder, Runnable lambda)
    • inNewBrowser

      void inNewBrowser(Runnable lambda)
    • clearBrowserCache

      void clearBrowserCache()
    • getPageSource

      @CheckReturnValue @Nonnull String getPageSource()
    • getCurrentUrl

      @CheckReturnValue @Nonnull String getCurrentUrl()
    • getCurrentFrameUrl

      @CheckReturnValue @Nonnull String getCurrentFrameUrl()