Hello Brenno,
I looked up the pythonw.exe logic you used and found out it suppresses all console output, including exceptions. This explains some of the challenges seen, and the script is probably crashing silently, and there is no information about it in the log, which is why history is never collected despite it starting successfully. As I have seen, Wazuh command wodles work more reliably with python.exe, so please update that. But if a windowless process is preferred, you can switch back to pythonw.exe once everything is working.
And again, since the script already loops every minute internally, the Wodle interval becomes mostly irrelevant, so as I mentioned earlier, you may want to choose between removing the internal infinite loop from the Python script and letting Wodle handle scheduling itself or keeping your internal Python loop but configuring Wodle only to launch the process once and letting the script do the rest.
The reason the browser history logs are not being collected is probably because the script restarts repeatedly before reaching the actual collection loop or because the output log file is not being updated consistently before Wazuh reads it.
Another culprit is the browser SQLite history file being locked while the browser is open, Chrome and Edge hold an exclusive lock on their history file during a session. The script needs to copy the file before reading it. So you may also want to review the logic there.
Lastly, disable the GPO scheduled task to eliminate competing instances, and just follow through with Wazuh handling end-to-end.
The process of configuring each option I have shared in my previous response.