Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- obtainSelenium :: (MonadIO m, MonadLogger m) => FilePath -> SeleniumToUse -> m (Either Text FilePath)
- obtainChromeDriver :: (MonadIO m, MonadLogger m, MonadBaseControl IO m) => FilePath -> ChromeDriverToUse -> m (Either Text FilePath)
- obtainGeckoDriver :: (MonadIO m, MonadLogger m, MonadBaseControl IO m) => FilePath -> GeckoDriverToUse -> m (Either Text FilePath)
- downloadSeleniumIfNecessary :: Constraints m => FilePath -> m (Either Text FilePath)
- downloadChromeDriverIfNecessary :: Constraints m => FilePath -> m (Either Text FilePath)
Documentation
obtainSelenium :: (MonadIO m, MonadLogger m) => FilePath -> SeleniumToUse -> m (Either Text FilePath) Source #
Manually obtain a Selenium server JAR file, according to the SeleniumToUse
policy,
storing it under the provided FilePath
if necessary and returning the exact path.
obtainChromeDriver :: (MonadIO m, MonadLogger m, MonadBaseControl IO m) => FilePath -> ChromeDriverToUse -> m (Either Text FilePath) Source #
Manually obtain a chromedriver binary, according to the ChromeDriverToUse
policy,
storing it under the provided FilePath
if necessary and returning the exact path.
obtainGeckoDriver :: (MonadIO m, MonadLogger m, MonadBaseControl IO m) => FilePath -> GeckoDriverToUse -> m (Either Text FilePath) Source #
Manually obtain a geckodriver binary, according to the GeckoDriverToUse
policy,
storing it under the provided FilePath
if necessary and returning the exact path.