How to test inline installation of Chromium/Chrome extensions locally?

Viewed 4987

I am trying to test the inline installation feature of the Chrome Webstore as per this document (https://developers.google.com/chrome/web-store/docs/inline_installation). I am developing this locally to test and cannot easily and often push my changes live.

How do I test inline installation locally since inline installation depends on your site being verified in Webmaster Tools?

Code

if (!chrome.app.isInstalled) {
    chrome.webstore.install(undefined, undefined, function(err) {
        console.log(err);
    });
}

This returns:

Installs can only be initiated by the Chrome Web Store item's verified site 

Obviously localhost is not a verified site.

Any help is appreciated.

1 Answers
Related