Skip to content
This repository has been archived by the owner on Mar 21, 2021. It is now read-only.

Goto failed to load in the timeout specified #73

Open
jobergner opened this issue Feb 26, 2018 · 3 comments
Open

Goto failed to load in the timeout specified #73

jobergner opened this issue Feb 26, 2018 · 3 comments

Comments

@jobergner
Copy link

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!

@michaelwills
Copy link

@Java-Jonas we are discussing some of these bits over in #72 .

@edparsons
Copy link
Contributor

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.

@gary5wang
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants