module.exports = HtmlFile;

function HtmlFile(path) {
  this.path = path;
}

HtmlFile.prototype.querySelectorAll = function(ph, style, cb) {
  var _this = this;
  return new Promise(function(resolve) {
    ph.createPage(function(page) {
      page.open(_this.path, function(status) {
        page.evaluate((function() {
          return 'function() { return document.querySelectorAll("' + style + '"); }';
        }()), function(value) {
          cb(value);
          resolve();
        });
      });
    });
  });
};

module.exports = HtmlFile;

function HtmlFile(path) {
  this.path = path;
}

HtmlFile.prototype.querySelectorAll = function(ph, style, cb) {
  var _this = this;
  return new Promise(function(resolve) {
    ph.createPage(function(page) {
      page.open(_this.path, function() {
        page.evaluate((function() {
          return 'function() { return document.querySelectorAll("' + style + '"); }';
        }()), function(value) {
          cb(value);
          resolve();
        });
      });
    });
  });
};

Fix '"status" is defined but never used'
Fix '"status" is defined but never used'
