| Copyright | 2018 Automattic Inc. |
|---|---|
| License | GPL-3 |
| Maintainer | Nathan Bloomfield (nbloomf@gmail.com) |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | None |
| Language | Haskell2010 |
Web.Api.WebDriver.Helpers
Description
- stashCookies :: Monad m => String -> WebDriverT m ()
- loadCookies :: Monad m => String -> WebDriverT m Bool
- press :: Key -> Action
- typeString :: String -> Action
Secrets
Arguments
| :: Monad m | |
| => String | Passed through SHA1, and the digest is used as the filename. |
| -> WebDriverT m () |
Save all cookies for the current domain to a file.
Arguments
| :: Monad m | |
| => String | Passed through SHA1, and the digest is used as the filename. |
| -> WebDriverT m Bool |
Load cookies from a file saved with stashCookies. Returns False if the cookie file is missing or cannot be read.
Actions
typeString :: String -> Action Source #
Simulate typing some text.