{"id":7654,"date":"2015-09-24T03:46:20","date_gmt":"2015-09-24T03:46:20","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/09\/24\/view-console-log-output-in-angular-protractor-jasmine-test-open-source-projects-angular-protractor\/"},"modified":"2015-09-24T03:46:20","modified_gmt":"2015-09-24T03:46:20","slug":"view-console-log-output-in-angular-protractor-jasmine-test-open-source-projects-angular-protractor","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/09\/24\/view-console-log-output-in-angular-protractor-jasmine-test-open-source-projects-angular-protractor\/","title":{"rendered":"view console.log output in angular protractor jasmine test-open source projects angular\/protractor"},"content":{"rendered":"<p>How can I view console.log output in an angularjs protractor jasmine test? As of now, the browser closes by itself too quickly.<\/p>\n<p>more info &#8211; I am working with the angularjs tutorial, step 8. I am trying to change the e2e test to protractor. The protractor config file I&#8217;m using is based on %appdata%\\npm\\node_modules\\protractor\\referenceConf.js. In spec js files referenced by the config file, I have instances of console.log. However, during execution of the protractor e2e test, the web site opens in chrome, I see things happen in the browser, then the browser closes before I can examine any console.log output. I think I need to keep chrome open somehow. How?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How can I view console.log output in an angularjs protractor jasmine test? As of now, the browser closes by itself too quickly. more info &#8211; I am working with the angularjs tutorial, step 8. I am trying to change the e2e test to protractor. The protractor config file I&#8217;m using is based on %appdata%\\npm\\node_modules\\protractor\\referenceConf.js. In [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7654","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7654","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7654"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7654\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}