test_dark_mode
Emulate dark or light color scheme on a browser session and capture a screenshot to verify a site's dark/light theming without changing OS settings.
Instructions
Emulate prefers-color-scheme (dark or light) on a session and screenshot the result. Returns the screenshot. Use to verify a site's dark/light theming without touching OS settings; the emulation persists for later actions in the session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Color scheme to emulate | |
| session_id | Yes | Session ID |