webdriver v0.9 Release Notes

Release Date: 2019-06-04 // over 2 years ago
  • ๐Ÿ’ฅ Breaking API changes

    • ๐Ÿ”„ Changed the type of the cookExpiry field of Cookie from Maybe Integer to Maybe Double. This fixes parsing issues with some Selenium server implementations
    • ๐Ÿ”„ Changed elemPos and elemSize to return Float pairs instead of Int pairs. This fixes parsing issues with some Selemium server implementations.
    • โœ‚ Removed the Element argument from the sendRawKeys function. This argument is not used in modern Selenium versions.

    ๐Ÿ†• New API features

    • โž• Added a LogDebug constructor to the LogLevel type.
    • โž• Added ffAccpetInsecureCerts capability for Firefox 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 with error 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

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