Skip to content

Autoinstalling ChromeDriver for the installed Chrome/Chromium version

License

Notifications You must be signed in to change notification settings

nicolasrod/chromedriver_autoinstall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChromeDriver_AutoInstall

Porting of https://github.com/yeongbin-jo/python-chromedriver-autoinstaller to GoLang

Example

package main

import (
	"log"

	chromedriverautoinstall "github.com/nicolasrod/chromedriver_autoinstall"
)

func main() {
	// Check current Chrome version and if chromedriver does not exists or the version y older
	// than the version of Chrome, a new compatible chromedriver will be downloaded as
	// ./chromedriver
	err := chromedriverautoinstall.InstallChromeDriver("./chromedriver")
	if err != nil {
		log.Fatal(err)
	}
}

About

Autoinstalling ChromeDriver for the installed Chrome/Chromium version

Resources

License

Stars

Watchers

Forks

Languages