Safe Haskell | None |
---|---|
Language | Haskell2010 |
Test.WebDriverWrapper.Constants
Description
Synopsis
- chromeDriverArchiveDirectory :: IO FilePath
- chromeDriverArchivePath :: IO FilePath
- chromeDriverArchIndex :: Int
- chromeDriverVersionsUrl :: String
- chromeDriverPath :: IO FilePath
- 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
chromeDriverArchiveDirectory :: IO FilePath Source #
Where chromedriver initially gets unziped to
chromeDriverArchivePath :: IO FilePath Source #
Intermediary path for the compressed version of chromedriver. Inside downloadPath
.
chromeDriverArchIndex :: Int Source #
Index for chromeDriverVersionsUrl
, which provides a list of urls where each platform is represented by an entry.
If the platform is not identified, linux64
's index is used.
chromeDriverVersionsUrl :: String Source #
API to get chromedriver's download url.
chromeDriverPath :: IO FilePath Source #
Path for chromedriver. Inside downloadPath
.
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
.