Interface WebDriverContainer

All Known Implementing Classes:
WebDriverThreadLocalContainer

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

      org.openqa.selenium.WebDriver getWebDriver()
    • getProxyServer

      SelenideProxyServer getProxyServer()
    • setProxy

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

      org.openqa.selenium.WebDriver getAndCheckWebDriver()
    • getBrowserDownloadsFolder

      @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)
    • inNewBrowser

      void inNewBrowser(Config config, Runnable lambda)
    • clearBrowserCache

      void clearBrowserCache()
    • getPageSource

      @Nullable String getPageSource()
    • getCurrentUrl

      @Nullable String getCurrentUrl()
    • getCurrentFrameUrl

      String getCurrentFrameUrl()