remote

command
v0.0.0-...-e3ce5c9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 11 Imported by: 0

README

Using

Start a Chrome instance:

Using headless-shell:

$ podman run --rm --detach --publish 9222:9222 docker.io/chromedp/headless-shell:latest

Alternately, using Google Chrome:

$ google-chrome-stable --remote-debugging-protocol=9222

Then, execute the script:

$ go run main.go

The remote URL can be specified using the -url flag:

$ go run main.go -url ws://127.0.0.1:9222

Documentation

Overview

Command remote is a chromedp example demonstrating how to connect to an existing Chrome DevTools instance using a remote WebSocket URL.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL