webdriver v0.9 Release Notes
Release Date: 2019-06-04 // over 5 years ago-
๐ฅ Breaking API changes
- ๐ Changed the type of the
cookExpiry
field ofCookie
fromMaybe Integer
toMaybe Double
. This fixes parsing issues with some Selenium server implementations - ๐ Changed
elemPos
andelemSize
to returnFloat
pairs instead ofInt
pairs. This fixes parsing issues with some Selemium server implementations. - โ Removed the
Element
argument from thesendRawKeys
function. This argument is not used in modern Selenium versions.
๐ New API features
- โ Added a
LogDebug
constructor to theLogLevel
type. - โ Added
ffAccpetInsecureCerts
capability forFirefox
geckodriver. - ๐ป The constructor for
ExpectFailed
is now exported so that it can be caught properly by exception handlers - โ Added GHC callstack support.
BadJSON
exceptions are now caught and rethrown witherror
calls to improve stack traces.
๐ W3C standard compatibility fixes
- ๐ Fixed
ToJSON Element
instance so that it accepts both old OSS and new W3C element format (fixes compatibility issue with Selenium 3+ versions) - ๐ Changed the
maximize
API call to use POST instead of GET
๐ Other Selenium compatibility fixes
- ๐ Fixed an error with some versions of chromedriver when using
closeWindow
- ๐ Changed the type of the
Previous changes from v0.8.5
-
- โ Added support for experimental Chrome options that are not part of the API
- โ Added a Phantomjs constructor for the Browser type
- ๐ Changed the type of StackFrame line numbers from Word to Int to avoid parse errors in newer Aeson versions (sometimes the server returns negative line numbers)
- ๐ Fixed support for http-client > 0.5