The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

khtan (68) [Avatar] Offline
In Section 8.5 Table 8.1, both by.binding and by.model are documented as for AngularJS and not implemented for Angular.
This is no longer true.

When I run the Protractor Tutorial ( ), Step 1 uses by.model and Step 2
uses by.binding and they both work for Angular.

The other reason this should be fixed is because the Protractor style guide ( )
advises us to "Prefer protractor locator strategies when possible" and then lists by.model and by.binding as examples.

khtan (68) [Avatar] Offline

The post is incorrect. Just because I can run the Protractor Tutorial does not mean that the test site is Angular 4.

Just saw the Protractor compatibility notes in
and it also says that "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."

So, the Protractor Style Guide section I mentioned is for AngularJS, not Angular.