navalia
navalia copied to clipboard
Goto failed to load in the timeout specified
This example:
const { Chrome } = require('navalia');
const chrome = new Chrome();
chrome
.goto('https://amazon.com')
.type('input', 'Kindle')
.click('.buy-now')
.end()
.then(responses => {
console.log(responses); // ['https://www.amazon.com/', true, true, true]
});
causes the following error:
(node:13803) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Goto failed to load in the timeout specified
(node:13803) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
no way to work around it. Can't use navalia at all. Please help!
@Java-Jonas we are discussing some of these bits over in #72 .
I'm having a similar problem with 1.3.0, I've reverted to 1.2.0 and my tests are working again. Mine failed to load http://localhost:2998/ yet all the other browsers and Navalia 1.2.0 work so I don't think it is the server.
I'm having the same issue, even with hitting www.google.com. I tried what edparsons said and reverting to 1.2.0 worked. Thanks