Clicking on a Chrome Extension icon

I am too new to ask this ‘correctly’ please be patient.

I am recording a sequence of clicks on the amazon.com page, that works fine until I click on a Chrome Extention icon and get a message about the desktop. It seems like I am still in the chrome browser and trying to click my extension icon but it thinks it’s the desktop.

Thanks for any help…

Clicking a chrome icon is a desktop automation task. All Selenium IDE style commands work only inside the browser HTML area.

See also How to Automate your Chrome Browser Extension App (Browser extension testing)

Hint: In general, when you want to automate a click on small icons (such as a browser toolbar icon) it can be useful to use XClickRelative, because it allows to to create a larger, more stable anchor image. So for example, to click on the black Copyfish icon, I would use XClickRelative with this image: