I am planning to develop a google chrome extension which will help with a home brew functional testing framework. Here's the puzzle:
- There is no predefined url pattern where test pages could reside.
- I don't want the extension to get invoked by a match-all url pattern and then decide the page is of no interest.
What I want instead is for the extension to be completely dormant and to be able to invoke it from within the test pages.
Is this possible? If so,
- What should I have in my manifest?
- How do I implement the wake-up call in my test page javascript?
- Could the call be made whilst I am developing the extension, before it gets an id?
Edit: This answer shows how a page could call an extension, but it needs an extension ID. Is there a way to get a temporary extension ID before the extension is published?