I am trying to open/interact with the chrome extension from the webpage in my local(Not installed the chrome extension from the web store). For that, i have this piece of code
chrome.runtime.sendMessage(extensionId, {}, function(){ // code })
Here extensionId is the ID which i manually copied from the chrome extension. And it is working.
Is there any way to get the chrome extension ID programmatically in the webpage? Or is there any other way to open/interact with the chrome extension programmatically?