Update README.md

This commit is contained in:
2025-03-10 19:12:12 +00:00
parent ecb197507a
commit d9e76d26e9
+16
View File
@@ -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: