I’m creating my first Firefox extension, and since I don’t quite know how the API works, I’d like to test out a few things in the web console.
For example, I have “browser.tabs.query()” in my code and I want to see what it returns (after fulfilling the promise). Unfortunately, the web console doesn’t resolve “browser.tabs.query” or “tabs.query”.
Is there a special root element I need to use in the console instead or before “browser”?