| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Test.WebDriverWrapper.Selenium
Synopsis
- startSelenium :: Browser -> IO (Maybe Handle, Maybe Handle, Maybe Handle, ProcessHandle)
- getSeleniumIfNeeded :: IO ()
Documentation
startSelenium :: Browser -> IO (Maybe Handle, Maybe Handle, Maybe Handle, ProcessHandle) Source #
Starts Selenium and waits for its ok message ( "Selenium Server is up and running" ) to show up at the log file.
Takes in a Browser (since it needs to use the correct webdriver).
Returns the handles for the Selenium process.
getSeleniumIfNeeded :: IO () Source #
Checks if selenium is in the downloadPath. If not, download it.