From element to evidence.¶
-
Highlight.
Point to the field or component that matters.
-
Explain.
Guide the reader with numbered dots and short notes.
-
Capture.
Save the annotated viewport and clear the marks by default.
Use it from Python or Robot Framework with the same behavior. MIT licensed, with source and executable examples on GitHub.
What an annotated screenshot looks like¶

This screenshot is generated through Marka's Python API on the example form: it highlights the updated email, numbers the steps and adds a note beside the button. The image is the actual annotation output.
Annotate from your tests¶
Use the browser already opened by SeleniumLibrary. Capture saves the viewport as a PNG and clears annotations by default.
*** Settings ***
Library SeleniumLibrary
Library Marka
*** Keywords ***
Explain Profile Changes
Highlight Element id:email color=coral
Add Dot id:email text=1 position=left
Add Note id:save text=Save changes position=right
Capture Annotated Screenshot ${OUTPUT DIR}/profile.png
Installation and user guide · Keyword reference
What it does¶
- Keep highlights visible until explicitly cleared.
- Explain a sequence with numbered dots and notes.
- Capture a PNG and clean marks automatically, including on capture failure.
- Work with your existing SeleniumLibrary browser.
See the annotation flow¶
flowchart TD
B[Selenium browser] --> H[Highlight Element]
H --> N[Add Dot / Add Note]
N --> C[Capture Annotated Screenshot]
C --> P[PNG]
C --> X[Clear annotations]
[{"name": "English", "lang": "en", "link": "/robotframework-marka/", "fragments": {"from-element-to-evidence": "from-element-to-evidence", "what-an-annotated-screenshot-looks-like": "what-an-annotated-screenshot-looks-like", "annotate-from-your-tests": "annotate-from-your-tests", "what-it-does": "what-it-does", "see-the-annotation-flow": "see-the-annotation-flow"}, "current": true}, {"name": "Espa\u00f1ol", "lang": "es", "link": "/robotframework-marka/es/", "fragments": {"from-element-to-evidence": "del-elemento-a-la-evidencia", "what-an-annotated-screenshot-looks-like": "asi-se-ve-una-captura-anotada", "annotate-from-your-tests": "anota-desde-tus-pruebas", "what-it-does": "que-hace", "see-the-annotation-flow": "conoce-el-flujo-de-anotacion"}, "current": false}]