veidemann-browser-controller

command module
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

README

Docker

veidemann-browser-controller

Test

go test ./...

Run integration test

The integration test is useful to validate compatibility between the browserless container image and the chromedp library.

Using docker
go test --tags=integration -run TestSession_Fetch ./server
Using podman

Note that you have to manually clean up containers after every run with using podman as container provider because the container reaper (ryuk) is disabled.

# Setup podman socket
systemctl --user start podman

# Run integration test
DOCKER_HOST="unix:///run/user/$UID/podman/podman.sock" go test -run TestSession_Fetch --tags=integration ./server -provider=podman

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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