Verified Commit af5277fb authored by Marcel's avatar Marcel

Temporary Headless Closing fix

parent ca4a5d83
......@@ -101,10 +101,11 @@ func main() {
}
log.Println("waiting for headless_shell to exit...")
// wait for chrome to finish
err = c.Wait()
//TODO: Hope that Wait can be used again in the future
/*err = c.Wait()
if err != nil {
log.Fatal(err)
}
}*/
}
func screenshot(urlstr, folderPath string) chromedp.Tasks {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment