SyntaxFix
Write A Post
Hire A Developer
Questions
browser.waitForAngular(); btnLoginEl.click().then(function() { Do Something });
to solve the promise.