AI-Powered Testing with Playwright and ZeroStep ZeroStep is an AI tool that enhances Playwright tests with the power of GPT-3.5 and GPT-4. It offers ai() function, that allows users to use AI to write playwright tests. This means that instead of using Xpaths and CSS selectors, ZeroStep's AI assistant takes actions at runtime based on plain-text instructions. I've prepared a small POC to explore how it works. Its integration with Playwright is super easy and you don't need to worry about writing Xpaths and CSS locators anymore. It's pretty much the same as if you are writing manual test cases. It comes with a free version which allows you 1000 ai() function calls per month. The paid version starts with 20$ per month which supports 2000 ai() function calls/month. This option can be customized as per requirements. For straightforward UIs, it performs reasonably well. However, to achieve the best results, you need to provide highly precise commands. It won't function if you provide multiple commands in a single ai() function. The test execution is a bit slow and can be flaky at times but ongoing improvements give hope that ZeroStep will evolve into a more mature tool someday in the future.
very insightful, Will try this , Good effort on POC Faiza Aslam - Appreciated 👍
Senior Software Quality Analyst at XIT Solutions Canada Inc.
9mothis looks interesting and very insightful. Will definitely try this. 😊