Configure storyboard top-level settings
mainA storyboard is a YAML file containing global configuration for the video recording session. Key top-level keys include:
output: The WebM filename (can be overridden with-o/--output).url: The starting URL, domain, or local HTML path.viewport: A mapping withwidthandheight(defaults to 1280x720).cursor: Configuration for the cursor. Can betrue,false, or a mapping withvisible,clicks,color,size, andclick_size.wait_for: A Playwright selector or text selector to wait for after the initial page loads.wait_for_url: A URL pattern to wait for.javascript: JavaScript to run once after the initial page loads but before any scenes start.sh,python,server: Commands to run at the session level.scenes: A required list of scene objects.
output: demo.webm
url: https://shot-scraper.datasette.io/en/stable/
viewport:
width: 1280
height: 720
cursor:
visible: true
clicks: true
color: "#ff4f00"
size: 18
click_size: 44
wait_for: "text=Quick start"
scenes:
- name: Documentation home
do:
- pause: 1