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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay