In this chapter, we will look into an advanced concept: how to test a user interface. For this purpose, you will learn the following topics:
Using WebDriverJS to manipulate a browser and inspect the resulting HTML generated by our UI
Organizing our UI codebase to make it easily testable
The right abstraction level for our UI tests
Testing modern, rich Internet applications