Protractor

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

Github stars Tracking Chart

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

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

Overview

Name With Ownerangular/protractor
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 6)
Platform
License:MIT License
Release Count101
Last Release Name7.0.0 (Posted on )
First Release Name0.2.0 (Posted on )
Created At2013-01-16 04:30:53
Pushed At2023-05-24 20:07:37
Last Commit At2020-04-16 13:41:56
Stargazers Count8.8k
Watchers Count490
Fork Count2.3k
Commits Count1.8k
Has Issues Enabled
Issues Count4043
Issue Open Count616
Pull Requests Count620
Pull Requests Open Count64
Pull Requests Close Count832
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

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

To the top