Sunday, 15 September 2013

How do i test content-scripts in chrome extensions automatically?

How do i test content-scripts in chrome extensions automatically?

I programmed a chrome extension which parses various site informations
through content scripts. Now every other month one of the websites i
support change their html layout, move to another address etc. And so i
have to update my extension.
With 14 supported website (growing) with 5-7 properties each its just too
much to do by hand. Is there a way to automatically run my js functions in
the context of the websites and check the result?
I tryed it with iframes, but that didnt work cause of the same origin policy.

No comments:

Post a Comment