research-software-directory / documentation

This repository contains the user documentation for the Research Software Directory
0 stars 3 forks source link

automatically generate screenshots for documentation #11

Open fembau opened 9 months ago

fembau commented 9 months ago

Updating screenshot images in the documentation could become a time consuming and error prone task, increasing with growing documentation, new/changing features, different themes (of RSD instances), etc.

We could automate the generation of screenshots using browser scripting (headless browser engines) p.ex. puppeteer, ...

dmijatovic commented 9 months ago

@fembau We use playwright for e2e test (see e2e folder in the main repo). Maybe we could reuse some parts? I was not impressed by video recordings produced by e2e tests. Maybe are screenshorts more usable?