8000
Skip to content

Carbonfrost/autogun


Autogun logo

Headless browser automation with reusable workflows

Autogun is a configuration language and toolchain to automate headless browsers. Currently, it uses the Chrome DevTools protocol to automate Chromium-based browsers.

[!important] Autogun is pre-alpha software. Features are subject to change, and compatibility may vary until Autogun reaches 1.0.

Installation

To get started with Autogun, install the executable using Go:

go install github.com/Carbonfrost/autogun/cmd/autogun@latest

then use autogun from your scripts. For example, to navigate to a webpage and obtain its title:

autogun run https://github.com/Carbonfrost/autogun -title

Check out our docs for more guidance on how to use Autogun.

Getting Started

Examples

  • Capture a screenshot of a website, emulating iPhone 7 in landscape orientation

    autogun run --device=iPhone7landscape https://www.whatsmyua.info -screenshot file=iphone7-landscape-screenshot.png

Development

  1. Download and install Go 1.25+
  2. Run go build ./...
  3. Run the tests using go test ./...

Code of conduct

This project has adopted a Code of conduct.

License

This project uses a BSD-style license.

About

A command line interface for the Chrome DevTools protocol

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Contributors

0