Sign in

    cdp_examples

    Examples for justjavac/cdp

    cdp
    chrome-devtools-protocol
    examples
    Download zip
    Author
    Version
    0.1.4
    License
    MIT
    Last updated
    3 months ago
    Downloads
    55

    #justjavac/cdp examples

    Runnable examples for the justjavac/cdp MoonBit Chrome DevTools Protocol library.

    #Run

    Start Chrome with remote debugging:

    & "C:\Program Files\Google\Chrome\Application\chrome.exe" ` --remote-debugging-port=9222 ` --user-data-dir="$env:TEMP\mbt-cdp-profile"

    Then run an example:

    $env:MBT_CDP_TARGET = "9222" $env:MBT_CDP_EXAMPLE = "discover_version" moon run cmd $env:MBT_CDP_EXAMPLE = "runtime_evaluate" moon run cmd

    From the repository root, prefix the command with -C examples:

    moon -C examples run cmd

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io