CodeceptJS will execute this code either in Playwright or in Puppeteer. The running engine can be switched in a config.
Here is a bit more complicated check scenario:
I.amOnPage('https://myapp.com/login');
I.fillField('Email', 'name@myapp.com');
I.fillField('Password', '123456');
I.click('Submit')
I.see('You are logged in!')
As you see it is as small as it is possible. In pure Playwright it requires is 11 lines of code and good knowledge of their API and assertion libraries.
as you see, the syntax looks perfect for such checks. CodeceptJS is used in various small & big companies and works since 2015. If you need assistance in integrating it - write me on Twitter @davert to help, or join CodeceptJS Slack.
I really like Checkly and I think CodeceptJS with Checkly should be a perfect match :heart:
@DavertMik thank for requesting this. We don't have this on our roadmap (yet) but I'd be happy to leave this open and see if people will respond to this.
Writing browser scripts in raw Playwright / Puppeteer has lots of pitfalls:
I'd like to introduce CodeceptJS https://codecept.io which should play very nicely with a service like Checkly!
Consider this basic example from checkly
In CodeceptJS it would be written as
CodeceptJS will execute this code either in Playwright or in Puppeteer. The running engine can be switched in a config.
Here is a bit more complicated check scenario:
As you see it is as small as it is possible. In pure Playwright it requires is 11 lines of code and good knowledge of their API and assertion libraries.
as you see, the syntax looks perfect for such checks. CodeceptJS is used in various small & big companies and works since 2015. If you need assistance in integrating it - write me on Twitter
@davert
to help, or join CodeceptJS Slack.I really like Checkly and I think CodeceptJS with Checkly should be a perfect match :heart: