Web Automation Practice

Theme Switching (Light/Dark Mode)

Instructions: Test the application's ability to switch color themes.

  1. The page initially respects your operating system's color scheme preference.
  2. Click the "Toggle Theme" button to manually switch between light and dark modes.

Validation: Your script should be able to get the `data-theme` attribute from the `` element to verify the current theme. You can also check the computed CSS values (e.g., `background-color`) of the `` element.

Current Theme: