com.codeborne.selenide.WebDriverRunner [src]
This class defines some browser management methods:
isChrome()
isFirefox()
isHeadless()
url()
- returns current urlsource()
- returns source HTML code of current pagegetWebDriver()
- returns the WebDriver instance (created by Selenide automatically or set up by the user), thus giving to the user the raw API to Selenium if neededsetWebDriver(WebDriver)
- tells Selenide to use driver created by the user. From this moment the user himself is responsible for closing the driver.