From the course: Test Automation with Selenium WebDriver for Java
Using GitHub Codespaces
From the course: Test Automation with Selenium WebDriver for Java
Using GitHub Codespaces
- [Instructor] For this course, we're going to use GitHub Codespaces to write browser automation scripts with Selenium WebDriver. In order to open GitHub Codespaces for this project, there are two ways to get there. The first way is simply to navigate to the GitHub repo for this course and add /Codespaces at the end of the URL, and that'll take you to this screen. The other way to get to this screen is just by clicking on the link for GitHub Codespaces below. Once there, you'll click this green button that says Create codespace on main, and that will open an editor for you. That takes a couple of minutes to build, so just wait for it to finish. Once the editor finishes loading, you should see all of the files for the project over here on the left hand side. If you want to navigate to the specific state that our app is in at any given point in the course, you can check out the corresponding branch with the chapter number and the video number. So for example, if we wanted to check out the exact code state at the beginning of let's say, chapter four, video two, we could simply run the command, git checkout 04_02 and then in order to check out the beginning, we would say B. And if you want to check out the code at the end of a given video, you can add E for end instead. Now that you know how to work with Codespaces, you can follow along with me as we write scripts using Selenium WebDriver.