angular / 14.0.0 / api / platform-browser / provideprotractortestingsupport.html /

provideProtractorTestingSupport

function

Returns a set of providers required to setup Testability for an application bootstrapped using the bootstrapApplication function. The set of providers is needed to support testing an application with Protractor (which relies on the Testability APIs to be present).

provideProtractorTestingSupport(): Provider[]

Parameters

There are no parameters.

Returns

Provider[]: An array of providers required to setup Testability for an application and make it available for testing using Protractor.

© 2010–2022 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/platform-browser/provideProtractorTestingSupport