protractor icon indicating copy to clipboard operation
protractor copied to clipboard

Just loading a Blank screen when using Browser.get()

Open kuroiokami opened this issue 12 years ago • 4 comments

Hello I'm getting a blank screen when I try to do a browser.get() on my screen. If I go in an press enter manually it loads up but initially when protractor does it, it just shows a blank screen (the url is correct and it does show the correct title of the page on the browser)

I also get this Error

Error: Error while running testForAngular: javascript error: document unloaded while waiting for result\n

kuroiokami avatar Jul 15 '14 17:07 kuroiokami

I think it's giving you the "document unloaded" error when you manually make the page refresh by pressing enter during a test. Do you also get it if you don't manually intervene?

juliemr avatar Jul 15 '14 17:07 juliemr

Sorry should have gave more detail on it.

Actually I just found out more info looking in the code. It was manually bootstrapped and uses require.js. Basically giving me the error

Error: Angular could not be found on the page http://localhost:8081/buildemail.html#/type : angular never provided resumeBootstrap'

kuroiokami avatar Jul 15 '14 17:07 kuroiokami

See discussion on this issue at #66 Closing as a dupe!

juliemr avatar Jul 15 '14 21:07 juliemr

@juliemr when i run npm run e2e test starts good but browser shows a white screen and test gets terminated

screen shot 2016-07-08 at 6 27 36 pm

yokeshvaradhan avatar Jul 08 '16 13:07 yokeshvaradhan