What problem does it solve?
Standard browser automation tools default to light mode, which causes eye strain during long sessions, requires manual toggling for each individual website, and creates inconsistent visual conditions for tasks like screenshot capture and element interaction.
Core Features & Use Cases
- Multi-Method Dark Mode Enforcement: Uses CSS injection, Playwright media emulation, data attribute setting, localStorage modification, and automatic toggle clicking to ensure dark mode applies across all types of websites, even those with custom theme implementations.
- Playwright & Persistent Browser Integration: Works seamlessly with both standard Playwright automation scripts and persistent browser services for long-running sessions.
- Verification & Dynamic Content Handling: Includes built-in verification steps and supports re-applying dark mode after dynamic content loads or navigation events.
- Use Case: For example, if you are running automated web scraping tasks across dozens of e-commerce sites, this skill automatically applies dark mode to every page to reduce eye strain and ensure consistent visual conditions for price data extraction.
Quick Start
Use the always-darkmode skill to automatically enable dark mode on the current browser page before starting your automation workflow.