Skip to content

chromedp/verhist

Repository files navigation

verhist

Package verhist provides a simple client to retrieve the latest release versions of Chrome using the version history API.

Can also be used to build the latest user agent for Chrome.

Example

package verhist_test

import (
	"context"
	"fmt"

	"github.com/chromedp/verhist"
)

func Example() {
	userAgent, err := verhist.UserAgent(context.Background(), "linux", "stable")
	if err != nil {
		panic(err)
	}
	fmt.Println(userAgent)
}

About

Go package to retrieve the Chrome versions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages