Feature: HTML to thumbnail engine
In order to capture a screenshot of an HTML page
As an internaut
I want to use the Thumbnailer API
Scenario: generate thumbnail of HTML page
Given the page <content_url> is in a HTML/XHTML document
And the thumbnailer API available at <api_url>
And a "html" engine is available
When I access <api_url>/html?url=<content_url>&width=<width>&height=<height>
Then I get an image which size is <width>x<height>
Examples:
| content_url | api_url | width | height |
| http://www.example.com/ | http://localhost:8000/thumbnailer/ | 100 | 50 |