All Versions
30
Latest Version
Avg Release Cycle
167 days
Latest Release
1578 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v0.9 Changes
June 04, 2019๐ฅ 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
-
v0.9.0.1
June 10, 2019 -
v0.8.5 Changes
April 19, 2017- โ 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
-
v0.8.4 Changes
September 30, 2016- โ Added a new
Test.WebDriver.Common.Keys
module with named constants for use withsendKeys
- ๐ Updated old URLs in documentation
- ๐ Introduced support for http-client 5.0
- โ Added a new
-
v0.8.3 Changes
May 25, 2016- โ Removed most upper bounds on dependencies in our cabal file to avoid stackage version madness.
-
v0.8.2 Changes
March 17, 2016- โ Added a
saveScreenshot
command, for conenience, which writes the results of thescreenshot
command directly to a given file path. - โ Added new
WebDriver
instance forExceptT
.
- โ Added a
-
v0.8.1 Changes
January 13, 2016- โ
Previously internal convenience functions
noReturn
andignoreReturn
are now exported in Test.WebDriver.JSON - ๐
elemInfo
is now deprecated due to it being phased out in the Marionette (Firefox) driver. It will likely be removed once Selenium 4 is released. - ๐ Fixed an issue causing PAC settings to not work.
- โ
Previously internal convenience functions
-
v0.8 Changes
Command changes
- All commands that previously accepted a list parameter now accepts any instance of
Foldable
instead.
๐ง Overloadable configuration
๐ง It is now possible to define custom configuration types that can be used to initialize webdriver sessions.
runSession
now has the following type:runSession :: WebDriverConfig conf => conf -> WD a -> IO a
And the typeclass to create new config types looks like this:
-- |Class of types that can configure a WebDriver session. class WebDriverConfig c where -- |Produces a 'Capabilities' from the given configuration. mkCaps :: MonadBase IO m => c -> m Capabilities -- |Produces a 'WDSession' from the given configuration. mkSession :: MonadBase IO m => c -> m WDSession
Of course you can still use
WDConfig
, as it is now an instance ofWebDriverConfig
.Reworked custom HTTP headers interface
- ๐ Support for custom request headers was added rather hastily, resulting in several functions having explicit
RequestHeaders
parameters. The interface has been reworked now so that custom request headers are stored insideWDSession
and explicitRequestHeaders
parameters have been removed. - ๐ง There's also now a distinction in configuration between
wdAuthHeaders
which are used only during initial session creation, andwdRequestHeaders
, which are used with all other HTTP requests - Two new utility functions were added to make working with custom HTTP headers easier:
withRequestHeaders
andwithAuthHeaders
Clean-up and dependency changes
- โ Removed a whole mess of unusued import and deprecation warnings when building with GHC 7.10
- ๐ We now enforce an attoparsec lower bound of 0.10 (there was no lower bound before)
- ๐ The unnecessary dependency on mtl is now removed.
- โ Added some monad transformer instances for WebDriver and WDSessionState that were mysteriously missing: strict WriterT, ReaderT, ListT
- 0๏ธโฃ data-default dependency was changed to data-default-class
- All commands that previously accepted a list parameter now accepts any instance of
-
v0.8.0.4 Changes
December 18, 2015- ๐ Quick fix to parse "unsupported command" errors when using Marionette driver (Selenium + Marionette has nonstandard behavior when reporting that error type)
-
v0.8.0.3 Changes
October 16, 2015- ๐ Fixed build errors for GHC < 7.10. webdriver now builds with GHC stable releases 7.4.2, 7.6.3, and 7.8.4
- ๐ Fixed support for bytestring 0.9.*