How to Program a Click on a Browser Extension Icon

Ui.Vision works by default inside the browser’s viewport (the website). For clicks outside of it, like on the extension icon, you can use swith to its Desktop Automation mode.

Update: See also How to Automate your Chrome Browser Extension App (Browser extension testing) - #2 by TechSupport