So far, we have covered WebdriverIO installation, setup, locator strategies, and some widely used built-in methods to automate user actions. This chapter looks at additional WebdriverIO methods and built-in assertions that come in handy during end-to-end execution. Assertions are validation points that conclusively determine if a test case passed or failed. Assertions are hard validations, meaning the execution stops as soon as the control encounters an assertion statement.
5. Additional WebdriverIO Methods
Get Practical WebDriverIO: Learn to Automate Effectively Using WebDriverIO APIs now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.