Protractor 入門

Protractor 是 AngularJS 應用程式的端到端測試框架。

Protractor 是 Selenium WebDriver 周圍的包裝器(構建在頂部),因此它包含 Selenium WebDriver 中提供的所有功能。此外,Protractor 提供了一些新的定位器策略和功能,這對於 AngularJS 應用程式的自動化非常有用。示例包括:waitForAngular,By.binding,By.repeater,By.textarea,By.model,WebElement.all,WebElement.evaluate 等。