browser.get in phantomjs
When i run a browser.get() in a phantomjs driver sending some parameter in the url, example: browser.get(#/manage?id=1,2,3) protractor failure with the follow message:
Message: UnknownError: Error Message => '[ng:btstrpd] http://errors.angularjs.org/undefined/ng/btstrpd?p0=%3Chtml%20lang%3D%22en%22%20ng-app%3D%22pamApp%22%20class%3D%22ng-scope%22%3E' caused by Request => {"headers":{"Accept":"application/json, image/png","Connection":"Keep-Alive","Content-Length":"159","Content-Type":"application/json; charset=utf-8","Host":"localhost:42415"},"httpVersion":"1.1","method":"POST","post":"{"args":[[]],"script":"return (function () {\n // Continue to bootstrap Angular.\n angular.resumeBootstrap(arguments[0]);\n }).apply(null, arguments);"}","url":"/execute","urlParsed":{"anchor":"","query":"","file":"execute","directory":"/","path":"/execute","relative":"/execute","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/execute","queryKey":{},"chunks":["execute"]},"urlOriginal":"/session/4a1996b0-41d4-11e3-b526-29787b54308c/execute"} Build info: version: '2.35.0', revision: 'c916b9d', time: '2013-08-12 15:42:01' System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.8.5', java.version: '1.6.0_51' Driver info: driver.version: unknown
I've just solved that problem running a browser.driver.get('about:blank') before each browser.get. Seems it reset the phantomjs driver and kill the angular instances.
@vipper would you be able to share how you got PhantomJS setup and running with Protractor on this thread? https://github.com/angular/protractor/issues/189 Thanks.
Closing this particular issue, please continue discussion on #189