Protractor 是Angular和AngularJS应用的端到端测试框架。 Protractor 是一个构建在WebDriverJS之上的Node.js程序。 Protractor根据您在真实浏览器中运行的应用程序运行测试,以用户身份与其进行交互。
Protractor
Angular应用程序的E2E测试框架。(E2E test framework for Angular apps. )
Github stars Tracking Chart
Overview
Name With Owner | angular/protractor |
---|---|
Primary Language | JavaScript |
Program language | JavaScript (Language Count: 6) |
Platform | |
License: | MIT License |
Release Count | 101 |
Last Release Name | 7.0.0 (Posted on ) |
First Release Name | 0.2.0 (Posted on ) |
Created At | 2013-01-16 04:30:53 |
Pushed At | 2023-05-24 20:07:37 |
Last Commit At | 2020-04-16 13:41:56 |
Stargazers Count | 8.8k |
Watchers Count | 490 |
Fork Count | 2.3k |
Commits Count | 1.8k |
Has Issues Enabled | |
Issues Count | 4043 |
Issue Open Count | 616 |
Pull Requests Count | 620 |
Pull Requests Open Count | 64 |
Pull Requests Close Count | 832 |
Has Wiki Enabled | |
Is Archived | |
Is Fork | |
Is Locked | |
Is Mirror | |
Is Private |
Protractor
Protractor is an end-to-end test framework for Angular and 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.
Compatibility
Protractor 5 is compatible with nodejs v6 and newer.
Protractor works with AngularJS versions greater than 1.0.6/1.1.4, and is compatible with Angular applications. Note that for Angular apps, the binding
and model
locators are not supported. We recommend using by.css
.
Getting Started
See the Protractor Website for most documentation.
To get set up and running quickly:
Once you are familiar with the tutorial, you’re ready to move on. To modify your environment, see the Protractor Setup docs. To start writing tests, see the Protractor Tests docs.
To better understand how Protractor works with the Selenium WebDriver and Selenium Server see the reference materials.
Getting Help
Check the Protractor FAQ and read through the Top 20 questions on StackOverflow.
Please ask usage and debugging questions on StackOverflow (use the "protractor" tag), the Gitter chat room, or in the Angular discussion group. (Please do not ask support questions here on Github.)
For Contributors
See DEVELOPER.md