Document with an annotated screenshotΒΆ

While Selenium has built-in support for capturing whole page screenshots, usually screenshots must be cropped and some times also annotated to make them useful in a documentation.

A Robot Framework library called Selenium2Screenshots provides a collection of re-usable keywords for cropping and annotating screenshots.

A cropped and annotated screenshot could look like this:

../_images/robotframework.png

Note

The image cropping feature for robotframework-selenium2screenshots requires PIL or Pillow.