The DOM

In order to test front-end code, we need to understand how to manipulate a web page using JavaScript. We do this with the DOM—the Document Object Model. In this episode, we introduce the DOM and demonstrate how to add, modify, and remove elements using JavaScript. We also demonstrate how to debug DOM manipulation code from our tests.

comments powered by Disqus