To automate any browser extension you need to use desktop automation mode.
Then, use XClick and XMove command to simulate the drag & drop.
Since you mention the XClick commands, I think you are already on the right path…
The below video does exactly this with the Copyfish extension. You can apply the same procedure to the authenticator: