- Added the cleanup_on_success option for deleting screenshots after successful test runs.
- Use selenium native element location instead of javascript call in order to assure crossplatform compatability.
- Fixed a unicode error (issue #23).
- Fixed an issue with saving screenshots on Windows.
- Fixed a regression in the PIL engine.
- Added support for Python 3.
- Changed default threshold from 0.1 to 0.
- Added configurable way of plugging external diff engines like PerceptualDiff.
- Removed the necessity to run the Selenium server by using a Firefox web
driver instance by default. This is slightly backwards-incompatible if you
relied on the now-removed
driver_command_executor
,driver_desired_capabilities
anddriver_browser_profile
attributes. To control the logic for selecting the proper web driver, you may simply override theget_web_driver()
method. - The
--with-needle-capture
andNeedleTestCase.capture
options were deprecated and will be removed in version 0.4.0. Instead, you should now respectively use the new, more explicit--with-save-baseline
andNeedleTestCase.save_baseline
options. Note that those new options will systematically cause the baseline image files to be saved on disk, overwriting potentially existing baseline files. - Removed the
NeedleWebElement.get_computed_property()
method. Instead, you may use Selenium's built-invalue_of_css_property()
method. - Upgraded vendored jQuery to version 11.0.
- Add
set_viewport_size()
method toNeedleTestCase
- Calculate the dimensions of elements more accurately with jQuery
- Only load jQuery if it hasn't already been loaded
Thanks @jphalip!
- Allow needle to be used with custom web driver
- Replace PIL with pillow
Thanks @treyhunner!
Initial release.