Web Automation with Playwright and ZeroStep
Project information
- Tech Stack: Playwright | ZeroStep
- Project URL: Github: Playwright with Zerostep
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.