
Discover what WebdriverIO is and why it’s popular, set up node and VS Code, create a base project, and begin writing your first test with async mode.
Install vscode for your OS, apply the one dark pro theme, install the material icon theme, and add prettier, eslint, and bracket colonizer to enhance coding.
Install and set up a WebDriver IO project with npm init wdio, use the configuration wizard for an end-to-end web test on Chrome with Mocha.
Initialize a new WebdriverIO project with npm init, configure an end-to-end web test via the CLI wizard in Chrome using Mocha, set base URL to practice.automation.com, and install packages.
Explore the webdriver io configuration file, including base URL, specs, capabilities, services, framework, reporter, and hooks, and learn how to set up and run tests with mocha and chrome driver.
Create WebdriverIO tests for the contact and blog pages, fill inputs, submit forms, and assert the success message; verify each blog post length exceeds ten characters and four posts exist.
Use the pause command to delay execution for five seconds to aid debugging. Avoid hard waits; use explicit waits for elements, loader, and API calls.
JavaScript Web Automation is the future! WebdriverIO is one of the most popular JavaScript test automation frameworks in the industry. It is being used by major companies around the world such Google, Netflix, Microsoft, Mozilla and many more...
WebdriverIO is extremely beginner-friendly, it has huge community support & is actively maintained by the community. Best of all, it is free to use for anyone (startups to enterprise).
This course will take you from the very basics where I will teach you about what WebdriverIO is and how to setup your first test with WebdriverIO, to all the way to teaching how to build a fully functional framework with WebdriverIO using v7. Along the way, I will teach you all the best practices that will put on the path of becoming one of the Top Automation Engineer.
Here's what we will be covering in this course:
JavaScript & HTML/CSS Basics
What is WebdriverIO & Why to use it?
Setting up your machine for perfect automation experience
Installation & Setup
Step by step guide on how to write tests
Working with different types of elements
Learning about how wait commands work
How to use assertions & advantages of using them
How to debug your tests when it fails
Setting up a fully functional framework
Page Object Model - What is it & how to set it up?
Optimizing your framework
Building beautiful reports
Running tests in BrowserStack
Running tests in Jenkins
And much more...
All of the topics are taught with real examples. The course will include exercises & quizzes that will challenge you & allow you to practice what you learned.
This course will get constantly updated so that you no longer have to worry about outdated content.