UNPKG

agenta.js

Version:

A BDD and DSL-oriented, scalable Acceptance Testing Framework using Yadda & Webdriver.io.

7 lines 233 B
module.exports = function fillIn(element, value, callback){ this.Logger.info('filling in ' + element.locator + ' with ' + value); this.webDriver.setValue(element.locator, value); if(callback){ callback(); } };