I’m developing a WebExtension for Firefox and Chrome and want to perform functional testing of this add-on. Questions about this seem to have been asked here before, but unfortunately I can’t find the answer on a specific issue: how to interact with the extension popup?
I’m following the setup provided by https://github.com/Standard8/example-webextension/. Using driver.setContext(CHROME)
I can click on the button and I can see the popup being opened, however I can’t find a way to actually interact with it. I’ve tried various switchTo
commands, but the popup does not seem to exist in any context, handle or frame.