...

Source file src/github.com/playwright-community/playwright-go/scripts/install-browsers/main.go

Documentation: github.com/playwright-community/playwright-go/scripts/install-browsers

     1  //go:build ignore
     2  // +build ignore
     3  
     4  package main
     5  
     6  import (
     7  	"log"
     8  
     9  	"github.com/playwright-community/playwright-go"
    10  )
    11  
    12  func main() {
    13  	if err := playwright.Install(); err != nil {
    14  		log.Fatalf("could not install playwright: %v", err)
    15  	}
    16  }
    17  

View as plain text