externalUseAngular
Index
Constructors
Methods
Constructors
externalconstructor
Returns UseAngular
Methods
staticexternaldisableSynchronisation
Produces an
Interaction
that instructs theActor
to disable synchronisation between Protractor and an Angular 1.x app.Returns Interaction
staticexternalenableSynchronisation
Produces an
Interaction
that instructs theActor
to enable synchronisation between Protractor and an Angular 1.x app.Returns Interaction
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