nightwatch
Version:
Easy to use Node.js based end-to-end testing solution for web applications using the W3C WebDriver API.
23 lines (22 loc) • 605 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const BaseLoader = require('./_base-loader.js');
class FirefoxCommandLoader extends BaseLoader {
static get firefoxCommands() {
return [
'getContext',
'setContext',
'installAddon',
'uninstallAddon'
];
}
loadCommands() {
const commands = FirefoxCommandLoader.firefoxCommands;
this.loadDriverCommands({
commands,
namespace: 'firefox'
});
return this;
}
}
module.exports = FirefoxCommandLoader;