DEV Community

Julia Pottinger
Julia Pottinger

Posted on

Expect Assertion WebdriverIO

WebdriverIO Expect Assertion is powerful, intuitive and comes built in to the test runner when you install WebdriverIO. It allows you to add assertions in your test. In this video I will walk through

  • Installing WebdriverIO v7
  • What is WebdriverIO Expect
  • How to use WebdriverIO Expect
  • Example of different commands
  • Matcher Options
  • How WebdriverIO Expect compares to Chai Assertions
  • Why I prefer WebdriverIO Expect over Chai Assertions
  • How to use both WebdriverIO Expect and Chai Assertions in your WebdriverIO project

Let me know which assertion you prefer.

Top comments (0)