MCPcopy Create free account
hub / github.com/FastLED/FastLED / install_playwright_browsers

Function install_playwright_browsers

ci/wasm_audio_drag_drop_test.py:83–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81
82
83def install_playwright_browsers():
84 console.print("[dim]Installing Playwright browsers...[/dim]")
85 try:
86 os.system(f"{sys.executable} -m playwright install chromium")
87 console.print("[dim]Playwright browsers ready.[/dim]")
88 except KeyboardInterrupt as ki:
89 handle_keyboard_interrupt(ki)
90 raise
91 except Exception as e:
92 console.print(
93 f"[bold red]Failed to install Playwright browsers:[/bold red] {e}"
94 )
95 sys.exit(1)
96
97
98def _find_free_port(start: int = 8080) -> int:

Callers 1

mainFunction · 0.70

Calls 2

printMethod · 0.45

Tested by

no test coverage detected