()
| 34 | |
| 35 | |
| 36 | def parse_args(): |
| 37 | parser = argparse.ArgumentParser( |
| 38 | description="Test WASM audio URL auto-load for FastLED AudioUrl example" |
| 39 | ) |
| 40 | parser.add_argument( |
| 41 | "example", |
| 42 | nargs="?", |
| 43 | default="AudioUrl", |
| 44 | help="Example name to test (default: AudioUrl)", |
| 45 | ) |
| 46 | parser.add_argument( |
| 47 | "--timeout", |
| 48 | type=int, |
| 49 | default=30, |
| 50 | help="Timeout in seconds for audio load (default: 30)", |
| 51 | ) |
| 52 | return parser.parse_args() |
| 53 | |
| 54 | |
| 55 | def install_playwright_browsers(): |