Protractor

Angular应用程序的E2E测试框架。(E2E test framework for Angular apps. )

Github星跟踪图

Protractor 是Angular和AngularJS应用的端到端测试框架。 Protractor 是一个构建在WebDriverJS之上的Node.js程序。 Protractor根据您在真实浏览器中运行的应用程序运行测试,以用户身份与其进行交互。

Protractor 支持Chrome,Firefox,Safari和IE的两个最新版本。 这些用于Protractor自己的测试套件。 您可以查看Travis上的当前状态
请注意,因为Protractor 使用WebDriver来驱动浏览器,所以WebDriver实现中的任何问题(如FireFoxDriver,ChromeDriver和IEDriver)将显示在Protractor中。

主要指标

概览
名称与所有者angular/protractor
主编程语言JavaScript
编程语言JavaScript (语言数: 6)
平台
许可证MIT License
所有者活动
创建于2013-01-16 04:30:53
推送于2023-05-24 20:07:37
最后一次提交2020-04-16 13:41:56
发布数101
最新版本名称7.0.0 (发布于 )
第一版名称0.2.0 (发布于 )
用户参与
星数8.7k
关注者数483
派生数2.3k
提交数1.8k
已启用问题?
问题数4046
打开的问题数620
拉请求数620
打开的拉请求数64
关闭的拉请求数832
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?

Protractor Build Status CircleCI Status Join the chat at https://gitter.im/angular/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