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
發布數101
最新版本名稱7.0.0 (發布於 )
第一版名稱0.2.0 (發布於 )
創建於2013-01-16 04:30:53
推送於2023-05-24 20:07:37
最后一次提交2020-04-16 13:41:56
星數8.8k
關注者數488
派生數2.3k
提交數1.8k
已啟用問題?
問題數4043
打開的問題數616
拉請求數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

去到頂部