module Test.Sandwich.WebDriver.Internal.Binaries.Selenium.Types where

import Test.Sandwich.Contexts.Nix


-- | How to obtain the Selenium server JAR file.
data SeleniumToUse =
  DownloadSeleniumFrom FilePath String
  -- ^ Download selenium from the given URL to the 'toolsRoot'
  | DownloadSeleniumDefault FilePath
  -- ^ Download selenium from a default location to the 'toolsRoot'
  | UseSeleniumAt FilePath
  -- ^ Use the JAR file at the given path
  | UseSeleniumFromNixpkgs NixContext
  -- ^ Use the Selenium in the given Nixpkgs derivation
  deriving Int -> SeleniumToUse -> ShowS
[SeleniumToUse] -> ShowS
SeleniumToUse -> String
(Int -> SeleniumToUse -> ShowS)
-> (SeleniumToUse -> String)
-> ([SeleniumToUse] -> ShowS)
-> Show SeleniumToUse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SeleniumToUse -> ShowS
showsPrec :: Int -> SeleniumToUse -> ShowS
$cshow :: SeleniumToUse -> String
show :: SeleniumToUse -> String
$cshowList :: [SeleniumToUse] -> ShowS
showList :: [SeleniumToUse] -> ShowS
Show