UseAngular
Index
Methods
Constructors
Methods
staticdisableSynchronisation
Produces an Interaction that instructs the Actor to disable synchronisation between Protractor and an Angular 1.x app.
Returns Interaction
staticenableSynchronisation
Produces an Interaction that instructs the Actor to enable synchronisation between Protractor and an Angular 1.x app.
Returns Interaction
Constructors
constructor
Returns UseAngular
Instructs the Actor to enable or disable automated synchronisation between Protractor and Angular 1.x application.
Useful when a test scenario needs to interact with both Angular-based and non-Angular web apps, e.g. use an external sign-in form.
Please note if your tests interact with a non-Angular app you can disable synchronisation altogether in
protractor.conf.js
.Warning: this interaction is Protractor-specific, so using it in your tests will reduce their portability across test integration tools.
Disabling synchronisation temporarily
Disabling synchronisation with Angular in
protractor.conf.js
Learn more