Web Automation with Playwright and ZeroStep

Project information

Playwright Automation with ZeroStp

๐—ง๐—ถ๐—ฟ๐—ฒ๐—ฑ ๐—ผ๐—ณ ๐˜๐—ฒ๐˜€๐˜๐˜€ ๐—ฏ๐—ฟ๐—ฒ๐—ฎ๐—ธ๐—ถ๐—ป๐—ด ๐˜„๐—ถ๐˜๐—ต ๐—ฒ๐˜ƒ๐—ฒ๐—ฟ๐˜† ๐—จ๐—œ ๐—ฐ๐—ต๐—ฎ๐—ป๐—ด๐—ฒ? ๐Ÿ˜ซ ๐—ฆ๐—ฒ๐—ฒ ๐—ต๐—ผ๐˜„ ๐—ฃ๐—น๐—ฎ๐˜†๐˜„๐—ฟ๐—ถ๐—ด๐—ต๐˜ ๐—ฎ๐—ป๐—ฑ ๐—ญ๐—ฒ๐—ฟ๐—ผ๐—ฆ๐˜๐—ฒ๐—ฝโ€™๐˜€ ๐—”๐—œ ๐—บ๐—ฎ๐—ธ๐—ฒ ๐˜๐—ฒ๐˜€๐˜๐—ถ๐—ป๐—ด ๐—ณ๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ, ๐˜€๐—บ๐—ฎ๐—ฟ๐˜๐—ฒ๐—ฟ, ๐—ฎ๐—ป๐—ฑ ๐—บ๐—ผ๐—ฟ๐—ฒ ๐—ฟ๐—ฒ๐—น๐—ถ๐—ฎ๐—ฏ๐—น๐—ฒ! โšก๏ธ๐Ÿค–

๐—ช๐—ต๐—ฎ๐˜ ๐—ถ๐˜€ ๐—ญ๐—ฒ๐—ฟ๐—ผ๐—ฆ๐˜๐—ฒ๐—ฝ ๐Ÿคทโ€โ™‚๏ธ

End-to-end (E2E) testing is key to ensuring software works in real-life situations, but traditional methods can be complicated and easily break with small UI changes. โš™๏ธ๐Ÿšจ ZeroStep changes that by using AI ๐Ÿค– to improve Playwright tests. With ZeroStep, testers can automate tests using simple text commands โœ๏ธ, without needing to rely on complex selectors. โŒ๐Ÿ” Powered by GPT-3.5 and GPT-4, it makes testing faster โฉ, more reliable โœ…, and less affected by UI updates. ๐Ÿ”„

๐—ž๐—ฒ๐˜† ๐—™๐—ฒ๐—ฎ๐˜๐˜‚๐—ฟ๐—ฒ๐˜€ ๐Ÿ—๏ธ

  • 1๏ธโƒฃ Uses the โ€œai()โ€ function to understand plain-text instructions and decide the correct actions during runtime. ๐Ÿค–๐Ÿ’ฌ
  • 2๏ธโƒฃ No need for locators, ensuring tests remain stable even as the app changes. ๐Ÿšซ๐Ÿ”๐Ÿ”„
  • 3๏ธโƒฃ Built to integrate smoothly with Playwright, allowing AI to be added to existing tests without disrupting the development process. ๐Ÿ”งโš™๏ธ

๐—•๐—ฒ๐˜€๐˜ ๐—ฃ๐—ฟ๐—ฎ๐—ฐ๐˜๐—ถ๐—ฐ๐—ฒ๐˜€ ๐Ÿ‘

  • โœ… Write clear, grammatically correct instructions.
  • โœ… Use quotes for specific text (e.g., "Click on the 'Login' button").
  • โœ… Avoid technical details like CSS/XPath selectors.
  • โœ… Keep one action per instruction.
  • โœ… Be specific enough but allow some flexibility for UI changes.