diff --git a/main.go b/main.go index 680af79..5e22c9d 100644 --- a/main.go +++ b/main.go @@ -17,6 +17,7 @@ const ( var waitTime int var isVerbose bool var maxTime int +var logFile string func main() { //* Parse the flags diff --git a/utils.go b/utils.go index 57deb00..973bb5d 100644 --- a/utils.go +++ b/utils.go @@ -310,7 +310,7 @@ func marcarPresenca(ctx context.Context) error { chromedp.WaitVisible(menuPresencas)) if err == nil { - if isVerbose { + if isVerbose && logFile == "" { log.Println("Navigation menu is visible!") } }