DEV Community

Cover image for WebdriverIO getText vs getValue
Julia Pottinger
Julia Pottinger

Posted on

WebdriverIO getText vs getValue

WebdriverIO getText and getValue commands are sometimes confused. Persons tend to use them interchangeably and this results in errors such as expected “string” to equal ’ ’ or expected “string” to equal null. In this tutorial we explore the difference with both commands as well as how to handle these errors.

Top comments (0)