Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Test.WebDriverWrapper.Constants
Description
Synopsis
- geckoDriverPath :: IO FilePath
- defaultPath :: IO FilePath
- defaultSeleniumJarUrl :: String
- desiredPlatform :: String
- getGeckoDriverDownloadUrl :: String -> String
- geckoDriverVersionSource :: String
- downloadPath :: IO FilePath
- geckoArchivePath :: IO FilePath
- fileFormat :: String
- seleniumPath :: IO FilePath
- seleniumLogPath :: IO FilePath
Documentation
geckoDriverPath :: IO FilePath Source #
Path for geckodriver. Inside downloadPath
.
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
.