Skip to content

armgit / moli

Public Imported from GitHub
0

Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust

431 B
Raw Blame
from __future__ import annotations

import os
import sys


def main() -> int:
    wpt_root = os.environ.get("WPT_ROOT")
    if not wpt_root:
        raise SystemExit("WPT_ROOT must point to an upstream WPT checkout")

    sys.path.insert(0, wpt_root)
    from tools import localpaths  # noqa: F401
    from wptrunner import wptrunner

    return int(wptrunner.main() or 0)


if __name__ == "__main__":
    raise SystemExit(main())