Skip to content

chrome.Browser.NewTab

Michael Kenney edited this page Sep 29, 2018 · 1 revision
package main

import (
	chrome "github.com/mkenney/go-chrome/tot"
)

func main() {

	// ... snip ... //

	// Open a tab and navigate to a URL
	tab, err := browser.NewTab("https://www.google.com")
	if nil != err {
		panic(err.Error())
	}
}