Changelog for webdriver-w3c-0.0.2
Changelog for webdriver-w3c
0.0.2
This version introduces significant changes to the API, prompted by changes in the script-monad
dependency. The main change is that WebDriver
and WebDriverT
have been replaced by WebDriverT
and WebDriverTT
and are a more sensible monad transformer and monad transformer transformer, respectively. The main effect of this is that (1) WebDriver*
types take an extra parameter for the effect monad, and (2) functions for working with WebDriver*
now have additional Monad
and MonadTrans
constraints. The library will now only compile with GHC >=8.6 due to a transitive dependency on QuantifiedConstraints
.
- Added
- Browser preferences field on
FirefoxOptions
andChromeOptions
readDataFile
,writeDataFile
,readJsonFile
, andwriteJsonFile
data helpersbreakpoint
andbreakpointWith
for helping with debugging; controlled bybreakpointsOn
, andbreakpointsOff
expectIs
- Browser preferences field on
- Changed
- Switched order of arguments for
elementSendKeys
,getElementAttribute
,getElementProperty
, andgetElementCssValue
. The element reference now comes last to make it easier to chain these with>>=
. logDebug
andlogNotice
- Tested on geckodriver 0.23.0.
- Switched order of arguments for
- Fixed
- Bug in behavior of
cleanupOnError
was causing it to miss some errors, which left the remote end session open
- Bug in behavior of
0.0.1
- Added
WebDriver
monad for remotely controlling user agents. Also comes in monad transformer flavor withWebDriverT
- Bindings for all WebDriver endpoints as of 2018-04-20
- Integration with the Tasty test framework