[ANN] kamera 0.1.2 - visual testing with devcards integration

34 views
Skip to first unread message

Oliver Hine

unread,
Jul 27, 2020, 5:24:03 AM7/27/20
to Clojure
Hi everyone,

I'm pleased to announce the 0.1.2 release of kamera which aims to make screenshots more consistent and moves away from webfolder/cdp4j, which is a breaking change but important as cdp4j did not have good license terms for general use. Instead, clj-chrome-devtools provides a much nicer API for Clojure.

This release changes:

  • kamera now uses clj-chrome-devtools instead of webfolder/cdp4j #5. If you used the session parameter in any of the callback hooks you will need to update your code. Additionally the :chrome-options config setting has changed, see the README for an example.
  • The browser window is now resized to fit the content height only before taking a screenshot by default. This behaviour is controlled by the :resize-to-contents option, see the README

This release fixes:

  • Expand / contract icons in the report not showing up properly

Oliver Hine

unread,
Jul 27, 2020, 9:21:34 AM7/27/20
to Clojure

Correction, this was the 0.1.3 release!
Reply all
Reply to author
Forward
0 new messages