browser.executeScript doesn't see $scope
i am making a test with protractor for my angularjs app and i came accross the following problem
what i want to do is :
i want to do this so that my screen updates/renders so i can get the values on screen
only when i do this it says : $scope is not defined
does anybody has the same problem or know how to fix this?
Perhaps you should be using an ng-view directive in your container markup to render html snippets or partials within your index page. Take a look at what ng-view can do (http://docs.angularjs.org/api/ngRoute.directive:ngView) :-)