{"id":7584,"date":"2015-08-25T03:30:52","date_gmt":"2015-08-25T03:30:52","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/08\/25\/angular-protractor\/"},"modified":"2015-08-25T03:30:52","modified_gmt":"2015-08-25T03:30:52","slug":"angular-protractor","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/08\/25\/angular-protractor\/","title":{"rendered":"angular\/protractor"},"content":{"rendered":"<p>Protractor is an end-to-end test framework for AngularJS applications. Protractor is a Node.js program built on top of WebDriverJS. Protractor runs tests against your application running in a real browser, interacting with it as a user would.<\/p>\n<h2>Getting Started<\/h2>\n<p>The Protractor documentation for users is located in the protractor\/docs folder.<\/p>\n<p>To get set up and running quickly:<\/p>\n<p>Once you are familiar with the tutorial, you\u2019re ready to move on. To modify your environment, see the Protractor Setup docs. To start writing tests, see the Protractor Tests docs.<\/p>\n<p>To better understand how Protractor works with the Selenium WebDriver and Selenium Server see the reference materials.<\/p>\n<h2>Getting Help<\/h2>\n<p>Check the Protractor FAQ and read through the Top 20 questions on StackOverflow.<\/p>\n<p>Please ask usage and debugging questions on StackOverflow (use the \u201cprotractor\u201d tag) or in the Angular discussion group. (Please do not ask support questions here on Github.)<\/p>\n<h2>For Contributors<\/h2>\n<p>Clone the github repository:<\/p>\n<pre><code>git clone https:\/\/github.com\/angular\/protractor.git\ncd protractor\nnpm install\n<\/code><\/pre>\n<p>Start up a selenium server. By default, the tests expect the selenium server to be running at <code>http:\/\/localhost:4444\/wd\/hub<\/code>.<\/p>\n<p>Protractor\u2019s test suite runs against the included test application. Start that up with<\/p>\n<pre><code>npm start\n<\/code><\/pre>\n<p>Then run the tests with<\/p>\n<pre><code>npm test\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Protractor is an end-to-end test framework for AngularJS applications. Protractor is a Node.js program built on top of WebDriverJS. Protractor runs tests against your application running in a real browser, interacting with it as a user would. Getting Started The Protractor documentation for users is located in the protractor\/docs folder. To get set up and [&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-7584","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7584","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=7584"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7584\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7584"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7584"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}