UNPKG

cucumber-protractor

Version:

POM CukeTractor - Bootstrap your cucumber tests with cucumber, protractor and a structured way of creating page objects and component objects

6 lines (5 loc) 204 B
module.exports = function clickElementInsideElement(locatorKey2, locatorKey) { return this.getCurrentPage() .getElementWhenInDOM(locatorKey, locatorKey2) .then((element) => element.click()); };