Code Your Magic
By Muhammad Hammad Faisal — Software Engineer (Test Automation) at Arbisoft. I help engineers automate what shouldn't be done manually — testing, scraping, and everything in between.
> npx playwright test login.spec.ts --headed
43+
Blog Posts
28+
Tutorial Chapters
3
Frameworks Covered
— Latest Writing
From the Blog
TypeScript Generics for Testers: Writing One Helper Instead of Five
Most testers learn just enough TypeScript to get by, and generics are usually the first thing skipped. They're also the exact tool that turns five nearly-identical helper functions into one that actually stays type-safe.
The 404 That Broke Three Test Frameworks
A navigation pattern that looked completely normal was quietly broken in Playwright, WebdriverIO, and my own tutorial content — and it took a real HTTP request, not a stack trace, to find it.
The Testing Pyramid vs. the Testing Trophy: Two Real Strategies, Not One Right Answer
Mike Cohn's Testing Pyramid and Kent C. Dodds's Testing Trophy disagree about where most of your testing effort should go, and both have a real, specific argument for their answer. The mistake is treating either one as a universal law instead of a strategy that fits a particular kind of application.
Start the Tutorial — Free
Hands-on Playwright, WebdriverIO, and Cypress guides — from zero to production.
Join the Mage Circle
Test automation deep dives, scraping tricks, and career guides for engineers — straight to your inbox.