I'm currently writing extension for Firefox but the particular page does not allow programmatically dispatched events by checking if isTrusted is set.
...
if (!e.isTrusted) return
How to use dispatchEvent with isTrusted = true
? If that's not possibly there are other heavy machinery I have to resort like starting a local server that accepts coordinates and clicks on them (a lot of latency) through windowing system.