Learning Selenium with Node.js
56mIntermediate2023-08-16
Authors

Alexandra Casapu
Course details
You can control the browser using Selenium and Node.js, in order to address the challenges of functional web app testing. Most web apps are written using JavaScript, so it’s very convenient to use the same tech stack for creating your test suites. In this course, join principal quality engineer and testing instructor Alexandra Casapu and work directly with the tools to gain real, practical experience. Examine what kinds of tests are best done in Selenium. Learn Selenium functions for interacting with web elements, and explore ways to get comfortable wielding Selenium as a powerful engineering tool. Plus, find out how to make your Selenium code maintainable, deal with complex applications in Selenium, and apply what you’ve learned to a project.
Skills covered
SeleniumNode.jsJavaScript FrameworksSoftware TestingLearningWeb DevelopmentOpen SourceSoftware Development
Concepts
0. Introduction
- 01 - Learn Selenium with NodeJS
- 02 - What you should know
1. Selenium JS and Project Setup
- 03 - Set up the test project
- 04 - Set up Selenium for your project
2. Writing Tests with Selenium
- 05 - What kind of tests are appropriate for Selenium
- 06 - Interact with a radio button input
- 07 - Interact with a dropdown input
3. Making your Selenium code maintainable
- 08 - How to remove setup duplication
- 09 - How to remove teardown duplication
- 10 - Introduction to the Page Object Model
- 11 - Use Page Objects
- 12 - How to avoid stale page element references
- 13 - Challenge - Add a test for checkbox input
- 14 - Solution - Add a test for checkbox input
- 15 - How to keep your tests small
4. Dealing with complex applications
- 16 - Synchronization issues
- 17 - Slow internet connection simulation
Conclusion
- 18 - Using Selenium with NodeJS