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: