Document with a screenshotΒΆ
The fun with sphinxcontrib-robotframework starts in using it together with Selenium2Library.
These packages together would allow you to navigate any website, take
screenshots when required and finally embed those screenshot into this very
Sphinx-documentation. All this with just sphinx-build
:
*** Settings ***
Library Selenium2Library
Suite Teardown Close all browsers
*** Variables ***
${BROWSER} Firefox
*** Test Cases ***
Capture a screenshot of RobotFramework.org
Open browser http://robotframework.org/ browser=${BROWSER}
Capture page screenshot robotframework.png