Book Image

Learning Behavior-driven development with Javascript

Book Image

Learning Behavior-driven development with Javascript

Overview of this book

Table of Contents (17 chapters)
Learning Behavior-driven Development with JavaScript
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 6. Testing a UI Using WebDriverJS

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