Skip to content

Instantly share code, notes, and snippets.

@ykyuen
Created March 4, 2018 08:46
Show Gist options
  • Save ykyuen/cdcb8e55a84a55909aff37b7fefa594d to your computer and use it in GitHub Desktop.
Save ykyuen/cdcb8e55a84a55909aff37b7fefa594d to your computer and use it in GitHub Desktop.
driving-web-browser-in-go-03
package main
import (
"log"
"github.com/sclevine/agouti"
)
func main() {
// driver := agouti.PhantomJS()
// driver := agouti.ChromeDriver()
driver := agouti.ChromeDriver(
agouti.ChromeOptions("args", []string{"--headless", "--disable-gpu", "--no-sandbox"}),
)
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment