Jun 29, 2022
I am not familiar with Robot Framework but I have briefly looked at CodeceptJS. I have tested some test codes (in CodeceptJS syntax) and ran it using the different helpers (Nightmare, Playwright, Puppeteer, TestCafe and WebdriverIO). Nightmare complained about 'I.switchTo" when working with iFrames. There was a locator that did not work with TestCafe but worked with Playwright, Puppeteer and WebdriverIO. So, I had to tweak the locator to make it work for all 4. The first helper CodeceptJS worked on was WebdriverIO. They added Protractor some years after and have now discontinued it because Protractor itself is no longer being developed. They added Playwright around 2 years ago. Imagine, say, using the WebdriverIO now. Then a few years after Playwright is a better choice. You can use most, if not all, of the same test code in CodeceptJS syntax and run it using Playwright. I am very surprised why CodeceptJS is not popular. One guess is that there are some who wants the newest kid on the block. Another is that there are not much responses to questions in the forums. Community support is a big thing when selecting a testing framework. I encourage CodeceptJS users to be supportive.