Chrome extension testing
Does anyone have experience with Chrome exte开发者_StackOverflownsion testing?
For example:
I want to create an extension that uses the popup browser action, and automate a test case that checks the behavior of the popup when clicked.[chromium issue]
Perhaps you could use selenium (it would be really great if this is possible).
Have you considered using a general purpose GUI-testing tool? If you are looking for a free, basic solution, check out Sikuli. There is a bunch of similar tools out there.
I've gotten some mileage using protractor to navigate to the url for the popup and running tests on it as if it were a regular page.
精彩评论