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

Function install_playwright_browsers

ci/wasm_audio_url_test.py:55–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53
54
55def install_playwright_browsers():
56 console.print("[dim]Installing Playwright browsers...[/dim]")
57 try:
58 os.system(f"{sys.executable} -m playwright install chromium")
59 console.print("[dim]Playwright browsers ready.[/dim]")
60 except KeyboardInterrupt as ki:
61 handle_keyboard_interrupt(ki)
62 raise
63 except Exception as e:
64 console.print(
65 f"[bold red]Failed to install Playwright browsers:[/bold red] {e}"
66 )
67 sys.exit(1)
68
69
70def _find_free_port(start: int = 8080) -> int:

Callers 1

mainFunction · 0.70

Calls 2

printMethod · 0.45

Tested by

no test coverage detected