acvetkov / sinon-chrome

Testing chrome extensions with Node.js
ISC License
435 stars 46 forks source link

chrome.js is missing? #46

Closed zhaiduo closed 7 years ago

zhaiduo commented 7 years ago

It seems chrome.js not in sinon-chrome folder, where I can find this file?

page.injectJs(node_modules + 'sinon-chrome/chrome.js');

I need it to test chrome extension. Thanks for any help~

acvetkov commented 7 years ago

@zhaiduo, hi.

You have two ways:

a. sinon-chrome.min.js - stable chrome extensions api b. sinon-chrome-apps.min.js - stable chrome apps api c. sinon-chrome-webextensions.min.js - stable Firefox webextensions api