CodeceptJS is a backend testing framework that works with Selenium to test website functionality on the front-end. Based on Mocha testing framework. It helps you to write acceptance tests from user’s perspective, every command is described as an action of a user visiting a site therefore, creating scenario-driven testing in BDD-style.
Most notably, CodeceptJS is synchronous or said differently, test scenarios are linear, your test should be too. It is also backend agnostic. CodeceptJS provides a general high-level API which can easily be executed using many popular test runner libraries.