From d9e76d26e963cddf3b1890126fa0c21166dfbd99 Mon Sep 17 00:00:00 2001 From: FernandoJVideira <03.pleaser-minster@icloud.com> Date: Mon, 10 Mar 2025 19:12:12 +0000 Subject: [PATCH] Update README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 81b23d8..9542202 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,22 @@ This project automates the process of navigating to the IPLeiria GISEM platform 3. Add your credentials to the `utils.go` file. +4. (Optional) If you are using Chromium instead of Chrome you need to add this line to the `main.go` file: + + ```go + chromedp.ExecPath("path/to/chromium-browser"), // Specify the path to Chromium executable + ``` + + So the result would be (in `main.go`): + + ```go + opts := append(chromedp.DefaultExecAllocatorOptions[:], + chromedp.ExecPath("path/to/chromium-browser"), // Specify the path to Chromium executable + chromedp.Flag("headless", headless), // Disable headless mode + chromedp.Flag("disable-gpu", headless), // Enable GPU + chromedp.Flag("start-maximized", !headless), // Start maximized + ) + ## Usage To run the project without building it, execute the following command: