Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Testing Vue.js Components

🚧 NOTICE: You are watching a Vue.js 2 lesson

Traversing The DOM

In this lesson, we'll learn the handy techniques of traversing the DOM of a mounted vue.js component and how to interact with it through triggering native DOM events, like click and input events.

The techniques we learn in this testing lesson can bring you a long way in making sure that our vue.js component's works for your users.

You can use any valid CSS Selector to find the DOM element you need to locate.