Chapter 3: Navigating through a website
We have already laid the foundations for the rest of the book. In Chapter 1, Getting started with Puppeteer, we learned about browser automation and headless browsers. Chapter 2, Automated Testing and Test runners, was about automated testing and test runners. Now it's time to get more practical. In this chapter, we will learn about UI testing, but in the real world.
In the following chapters, we will pick an open-source website made with Vue.js to test, but we are also going to navigate through many other public websites. I want you to learn techniques that help you test websites no matter the framework they use.
I also want to share some tools with you, so you can finish this book with a complete toolbox. In this chapter, we will learn how to ship our code to GitHub and run our tests using GitHub Actions.
In the previous chapter, we created a test project, and we ran a few tests without paying too much attention to the Puppeteer...