user124722
user124722

Reputation:

Chrome extension testing

Does anyone have experience with Chrome extension 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).

Upvotes: 10

Views: 5496

Answers (2)

edibleEnergy
edibleEnergy

Reputation: 1849

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.

Upvotes: 0

h0b0
h0b0

Reputation: 1869

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.

Upvotes: 3

Related Questions