I try to use wait() method instead sleep(), but it isn\'t working. I had code:
browser.actions().click(filter_field).perform(); browser.sleep(3000); if (b
Finally I found one more solution:
browser.wait(function () { return balloon_info.isPresent(); }, 3000).then(function () { // success handler }).thenCatch(function () { expect(true).toBe(false); });