webdriver-wrapper-0.1.0.1: Wrapper around the webdriver package that automatically manages Selenium
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.WebDriverWrapper.Constants

Description

 
Synopsis

Documentation

geckoDriverPath :: IO FilePath Source #

Path for geckodriver. Inside downloadPath.

defaultPath :: IO FilePath Source #

haskell-webdriver-wrapper directory, created at XdgData.

defaultSeleniumJarUrl :: String Source #

Url to download Selenium from.

desiredPlatform :: String Source #

Platform this code is running at. The options are:

  • win64
  • win-aarch64
  • win32
  • macos
  • macos-aarch64
  • linux64
  • linux-aarch64
  • linux32

If the platform is not identified, linux64 is used.

getGeckoDriverDownloadUrl :: String -> String Source #

Url to download geckodriver from. Always the latest version provided by geckoDriverVersionSource.

geckoDriverVersionSource :: String Source #

API to get geckodriver's latest version.

downloadPath :: IO FilePath Source #

Directory named after desiredPlatform, created at the defaultPath.

geckoArchivePath :: IO FilePath Source #

Intermediary path for the compressed version of geckodriver. Inside downloadPath.

fileFormat :: String Source #

Archive format for geckodriver's download. .zip for Windows, .tar.gz for everyone else.

seleniumPath :: IO FilePath Source #

Path for selenium.jar. Inside downloadPath.

seleniumLogPath :: IO FilePath Source #

Path for Selenium's log file. Inside defaultPath.