How does UI.Vision run commands?

Hello,

I’m trying to understand the source code a bit better, and I’m wondering how the browser extension physically runs commands. I imagine each command, e.g. “open”, “store”, “click”, etc. is defined somewhere, but I can’t seem to find where. And further, after the command is defined, how does the tool physically tell the browser to execute the command?

If this is the wrong place to ask please let me know.

Web automation Selenium IDE commands like “Click” are typically executed via content scripts inside the website. See Chrome Extensions content scripts - Chrome Developers

This does not apply to commands that do not “touch” the website like “Store”. They are managed in the extension code itself.