angular / protractor

E2E test framework for Angular apps
http://www.protractortest.org
MIT License
8.75k stars 2.31k forks source link

Protractor-Cucumber.js -- Unable to launch/navigate to any URL. #1455

Closed navz85 closed 9 years ago

navz85 commented 10 years ago

Hi,

I am trying to launch an angular application using "browser.get('appURL'); .

It executed fine until now. All of a sudden, i am starting to get this error "Uncaught exception: Error while waiting for Protractor to sync with the page: {}" when i try executing it.

I tried to replace the above code with "browser.driver.get('https://google.com'); and i still continue to get the same error.

It just seems to launch a blank chrome browser instance with "data:," as the initial url and stops execution.

The exact same script seemed to run without any issues all these days.

davidporter-id-au commented 10 years ago

I'm also working with a similar setup and haven't had any problems recently. How are you working with Cucumber and protractor? I'm not sure I can help, but if I am to I'll need more information as to your setup.

juliemr commented 9 years ago

This could be caused by a bunch of different things, and for your specific case, it's hard to debug without seeing your setup. However, this particular error message can be confusing, so I've opened a new issue to deal with this in general: https://github.com/angular/protractor/issues/1474

In your specific case, I'd try re-installing selenium, or looking at the selenium server logs, but it's hard to say without knowing more about your configuration. Being unable to get google.com is expected since that is not an Angular application.