Jasmine and Selenium Assertions

Shashank Shukla · Apress eBooks · 2021

This chapter discusses assertions. In automation, the validations in test scripts are known as assertions. Node.js has a built-in assertion library that is called as follows: const assert = require(assert). No installation is required. However, Protractor uses Jasmine’s assertions to perform validations. You look at the following examples in this chapter.

Read the paper · More papers on PaperTik