Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type Constraints m = (HasCallStack, MonadLogger m, MonadIO m, MonadBaseControl IO m, MonadMask m)
- startWebDriver :: Constraints m => WdOptions -> FilePath -> m WebDriver
- startWebDriver' :: (MonadIO m, MonadLogger m) => WdOptions -> Text -> [Char] -> [Char] -> [String] -> Maybe XvfbSession -> Maybe [(String, String)] -> m WebDriver
- stopWebDriver :: Constraints m => WebDriver -> m ()
- seleniumOutFileName :: FilePath
- seleniumErrFileName :: FilePath
- configureCapabilities :: Capabilities -> RunMode -> Capabilities
Documentation
type Constraints m = (HasCallStack, MonadLogger m, MonadIO m, MonadBaseControl IO m, MonadMask m) Source #
startWebDriver :: Constraints m => WdOptions -> FilePath -> m WebDriver Source #
Spin up a Selenium WebDriver and create a WebDriver
startWebDriver' :: (MonadIO m, MonadLogger m) => WdOptions -> Text -> [Char] -> [Char] -> [String] -> Maybe XvfbSession -> Maybe [(String, String)] -> m WebDriver Source #
stopWebDriver :: Constraints m => WebDriver -> m () Source #
Util
configureCapabilities :: Capabilities -> RunMode -> Capabilities Source #
Add headless configuration to the Chrome browser