Changelog for webdriver-w3c-0.0.3
Changelog for webdriver-w3c
Unreleased
0.0.3
- Added
MonadIOandMonadFailinstances forWebDriverTT t eff- New endpoints:
newWindow,getComputedRole,getComputedLabel,printPage - Compiles with aeson >=2.0.0.0 and GHC >=8.8.1
- Changed
- The old behavior of
runIsolatedhas been renamed torunIsolated_, andrunIsolatednow returns the result of its argument. The naming is meant to mimic thesequence_/sequencepattern. chromeOptionsrenamed togoog:chromeOptionsinToJSONFromJSONinstances forCapabilityfor compatibility with chromedriver versions >=75; see https://chromedriver.storage.googleapis.com/75.0.3770.8/notes.txt. Fixes issue #21.
- The old behavior of
- Fixed
- Bug in behavior of
switchToFramewhen usingFrameContainingElement - Default value of wd-private-mode tasty flag changed to
False
- Bug in behavior of
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
FirefoxOptionsandChromeOptions readDataFile,writeDataFile,readJsonFile, andwriteJsonFiledata helpersbreakpointandbreakpointWithfor helping with debugging; controlled bybreakpointsOn, andbreakpointsOffexpectIs
- 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>>=. logDebugandlogNotice- Tested on geckodriver 0.23.0.
- Switched order of arguments for
- Fixed
- Bug in behavior of
cleanupOnErrorwas causing it to miss some errors, which left the remote end session open
- Bug in behavior of
0.0.1
- Added
WebDrivermonad 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