browser.driver.executeAsyncScript(function(callback) { var service = angular.element(document.body).injector().get('DummyDataService'); var _offlineResponse = service.restApiOfflineData(); processedData = _offlineResponse.response.aggregateResponse.appEntryList[1].application; });
UnknownError: javascript error: document unloaded while waiting for result (Session info: chrome=45.0.2454.85) (Driver info: chromedriver=2.15.322455 (ae23eaedsf32r32e21321f),platform=Mac OS X 10.9.5 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 11.62 seconds Build info: version: '2.45.0', revision: '5017cb8', time: '2015-02-26 23:59:50' System info: host: 'mayank-mahajan.local', ip: '192.168.xx.xx', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.9.5', java.version: '1.8.0_45' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, chrome={userDataDir=/var/folders/nn/84jg_sv16bv976tgsdc_zqm0pn0k5x/T/.org.chromium.Chromium.CzpyJ6}, takesHeapSnapshot=true, databaseEnabled=false, handlesAlerts=true, version=45.0.2454.85, platform=MAC, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 21312312wswadasdqwsd1221 Can somebody help me out -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.