packages feed

sandwich-webdriver 0.1.0.1 → 0.1.0.3

raw patch · 4 files changed

+25/−22 lines, 4 filesdep ~basedep ~sandwich

Dependency ranges changed: base, sandwich

Files

+ CHANGELOG.md view
@@ -0,0 +1,3 @@+# Changelog for sandwich-webdriver++## Unreleased changes
− ChangeLog.md
@@ -1,3 +0,0 @@-# Changelog for sandwich-webdriver--## Unreleased changes
sandwich-webdriver.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 48e4113557ec00972a87e9b31a5f940ecf5a86336356bfe8add3ff878f4965cf+-- hash: e3f76f01390946b9c285ff10be6e4d9678162aaefd674a951f50b239806388da  name:           sandwich-webdriver-version:        0.1.0.1+version:        0.1.0.3 synopsis:       Sandwich integration with Selenium WebDriver description:    Please see the documentation at <https://codedownio.github.io/sandwich/docs/extensions/sandwich-webdriver> category:       Testing@@ -21,7 +21,7 @@ build-type:     Simple extra-source-files:     README.md-    ChangeLog.md+    CHANGELOG.md  source-repository head   type: git@@ -55,7 +55,7 @@   build-depends:       X11     , aeson-    , base <=4.14+    , base <4.15     , containers     , convertible     , data-default@@ -101,7 +101,7 @@   build-depends:       X11     , aeson-    , base <=4.14+    , base <4.15     , containers     , convertible     , data-default@@ -148,7 +148,7 @@   build-depends:       X11     , aeson-    , base <=4.14+    , base <4.15     , containers     , convertible     , data-default
src/Test/Sandwich/WebDriver/Internal/Types.hs view
@@ -1,4 +1,12 @@-{-# LANGUAGE TypeFamilies, InstanceSigs, RecordWildCards, ScopedTypeVariables, QuasiQuotes, Rank2Types, NamedFieldPuns, DataKinds, ConstraintKinds #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE InstanceSigs #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE ScopedTypeVariables #-}+{-# LANGUAGE QuasiQuotes #-}+{-# LANGUAGE Rank2Types #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE ConstraintKinds #-}  module Test.Sandwich.WebDriver.Internal.Types where @@ -8,7 +16,6 @@ import Data.IORef import qualified Data.Map as M import Data.String.Interpolate-import qualified Data.Text as T import Network.HTTP.Client (Manager) import System.IO import System.Process@@ -58,9 +65,6 @@   , saveSeleniumMessageHistory :: WhenToSave   -- ^ When to save a record of Selenium requests and responses -  , saveLogSettings :: SaveLogSettings-  -- ^ When to save a record of Selenium requests and responses-   , seleniumToUse :: SeleniumToUse   -- ^ Which Selenium server JAR file to use @@ -142,7 +146,6 @@   toolsRoot = toolsRoot   , capabilities = def   , saveSeleniumMessageHistory = OnException-  , saveLogSettings = mempty   , seleniumToUse = DownloadSeleniumDefault   , chromeDriverToUse = DownloadChromeDriverAutodetect   , geckoDriverToUse = DownloadGeckoDriverAutodetect@@ -151,13 +154,13 @@   , httpRetryCount = 0   } -type SaveLogSettings = M.Map W.LogType (W.LogEntry -> Bool, W.LogEntry -> T.Text, W.LogEntry -> Bool)--data WebDriver = WebDriver { wdName :: String-                           , wdWebDriver :: (Handle, Handle, ProcessHandle, FilePath, FilePath, Maybe XvfbSession)-                           , wdOptions :: WdOptions-                           , wdSessionMap :: MVar (M.Map Session W.WDSession)-                           , wdConfig :: W.WDConfig }+data WebDriver = WebDriver {+  wdName :: String+  , wdWebDriver :: (Handle, Handle, ProcessHandle, FilePath, FilePath, Maybe XvfbSession)+  , wdOptions :: WdOptions+  , wdSessionMap :: MVar (M.Map Session W.WDSession)+  , wdConfig :: W.WDConfig+  }  data InvalidLogsException = InvalidLogsException [W.LogEntry]   deriving (Show)