page-chauffeur
Version:
A cross browser library for writing functional tests using webdriver
21 lines (17 loc) • 398 B
JavaScript
var Module = require('../../../').Module,
TopNav = require('./topNav'),
inherits = require('util').inherits;
function CommandBar() {
this.baseSelector = '.command-bar';
this._content = {
'field' : {
'selector': '#js-command-bar-field'
},
'topNav': {
required: true,
module: TopNav
}
};
}
inherits(CommandBar, Module);
module.exports = CommandBar;