webdriver-w3c-0.0.1: Bindings to the WebDriver API

Copyright2018 Automattic Inc.
LicenseGPL-3
MaintainerNathan Bloomfield (nbloomf@gmail.com)
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Web.Api.WebDriver.Helpers

Contents

Description

 

Synopsis

Secrets

stashCookies Source #

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.

loadCookies Source #

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

press :: Key -> Action Source #

Simulate pressing a Key.

typeString :: String -> Action Source #

Simulate typing some text.