Zombie getting error Unhandled rejection Error: Timeout: did not get to load all resources on this page <p>I am new to zombie JS. I want to fill the login fields and post the login form. I tried to code this in zombiejs, but getting below error.</p> <p>Unhandled rejection Error: Timeout: did not get to load all resources on this page at timeout (C:\Users\sapna.maid\Desktop\nodejs\index\node_modules\zombie\lib \eventloop.js:601:38) at Timer.listOnTimeout (timers.js:92:15)</p> <p>My code snippet is as below:</p> <pre><code>var zombie = require("zombie"); zombie.waitDuration = '30s'; //Browser.waitDuration = '300s'; var assert = require("assert"); browser = new zombie({ maxWait: 10000, waitDuration: 30*1000, silent: true }); browser.visit("https://example.com", function () { // fill search query field with value "zombie" console.log("LOADEDDDD !!!!", browser.location.href); console.log(this.browser.text('title')); assert.equal(this.browser.text('title'), 'Welcome - Sign In'); browser.fill('#user', 'user@example.com'); browser.fill('#pass', 'pass@123'); browser.document.forms[0].submit(); console.log(browser.text('title')); // wait for new page to be loaded then fire callback function browser.wait(5000).then(function() { // just dump some debug data to see if we're on the right page console.log(this.browser.success); assert.ok(this.browser.success); console.log("Browser title:: --------- " + this.browser.text('title')); assert.equal(this.browser.text('title'), 'Dashboard'); }) }); </code></pre> <p>Please help me to resolve this issue. I am stuck here for long duration. Thanks in advance!</p>