Posts

Showing posts from January, 2026

The Playwright Tools That Make Debugging Feel Like Cheating

Image
  I wasted hours debugging failed Playwright tests until I discovered the tools that changed everything. 🎯 Debug Mode: The Game Changer The VS Code extension's debug toolbar gives you visual control. Step Over advances line by line. Step Into shows Playwright's internals. No more console.log() spam—just pure clarity. ⚡ Watch Mode + Smart Filtering Toggle watch mode, save your code, and tests rerun automatically. Instant feedback loops that keep you in flow state. Filter large suites by tags (@smoke, @regression) or keywords. No more endless scrolling. 🎬 Record New Test Click "Record new test." Navigate. Click around. Playwright writes working code in real-time. Pick locators by clicking elements. Assert visibility. Verify text. No guessing. 🚀 UI Mode: The Visual Superpower Run "npx playwright test --ui" and unlock: Timeline Scrubbing → Rewind and replay any test moment like a video Detailed Logging → See exactly how Playwright found elements and why thing...

Playwright: Terminal Hustle to Command Center Mastery! 🚀

Image
🚀🚀🚀  Week 2: From Terminal Hustle to Command Center Mastery 🚀 Welcome to week two of the new year! 🎉 My Playwright journey is gaining some serious momentum, and I'm definitely starting to find my flow. This week was all about a deep dive into the terminal 💻 and the "Command Center" of every Node project: the package.json. Mastering the Terminal ⚡ I've been exploring the different ways to trigger Playwright tests directly from the command line. It's not just about running "everything"; it's about surgical precision. 🎯 For example: Line-Specific Testing : Did you know you can run a specific test by targeting the exact line number? 🔍 Using npx playwright test path/to/file.spec.ts:10 will run only the test on line 10. The "Invert" Power : If you want to run every test except a specific set (like skipping long-running smoke tests during a quick check), you can use the invert flag to filter them out. 🔄 Goodbye, Sticky Notes; Hello, ...

Back at it again after Christmas!

Image
🎅 Hi Friends , I hope you all had a wonderful Christmas! Mine was filled with food, laughter, and perhaps a bit too much festive spirit, but I’m heading into the new year feeling refreshed and ready to go. This year, I’m avoiding the trap of setting unreachable resolutions. Instead, I’m focusing on realistic goals to stay motivated—the biggest of which is continuing my upskilling journey.   The Pivot: Why Playwright? As many of you know, I’ve been hunting for an up-to-date Postman course for API testing. It’s been a struggle; most tutorials on LinkedIn Learning and YouTube use outdated URLs or have been replaced by AI interfaces that don't fit my current needs. While Udemy is an option, I’m not quite ready to commit to a £22/month subscription when I have a free LinkedIn Learning resource through work. So, I’ve decided to pivot. I’m officially diving into Playwright. As a mobile tester, much of my daily work is manual or uses Swift for automation. I’ve been itching to add a trendi...