cdp_examples

    Examples for justjavac/cdp

    cdp
    chrome-devtools-protocol
    examples
    Download zip
    Author
    Version
    0.1.1
    License
    MIT
    Last updated
    5 months ago
    Downloads
    88

    #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 -C examples run . $env:MBT_CDP_EXAMPLE = "runtime_evaluate" moon -C examples run .

    Source Files