Manual โ Playwright Roadmap (Python)
The same leap into automation, in Python's gentle syntax. Start with zero code, add just-enough Python, then Playwright with pytest โ codegen, fixtures, Page Objects, API and CI โ all the way to a portfolio.
5 stages ยท about 9 weeks at 1โ2 focused hours a day.
Each stage has a free path and a premium fast-track โ your call.
1 ยท From manual to the automation mindset
~1 weekYou know what to automate first, and how a web page is actually built.
Topics to learn
- Why automate โ and when not to
- Choosing your first automation candidates
- The DOM: elements, attributes & structure
- Reading a page in browser DevTools
Programs to practice
- List 5 manual test cases, mark the best 3 to automate
- Inspect 10 elements in DevTools
- Note 3 flaky manual checks worth automating
2 ยท Just-enough Python
~2 weeksYou can read and write the Python a Playwright test actually needs.
Topics to learn
- Install Python & pip
- Variables, indentation & print()
- Lists, dictionaries & f-strings
- Functions with def, loops & a peek at async / await
Programs to practice
- Run a greeting script in Python
- Store data in a dict and print it with f-strings
- Loop over a list and print each item
3 ยท First Playwright tests (pytest)
~2 weeksYou record, read and stabilise real browser tests โ no manual waits.
Topics to learn
- pip install playwright & pytest-playwright
- codegen: record a flow in Python
- get_by_role / get_by_text / get_by_label
- expect assertions, auto-waiting & the trace viewer
Programs to practice
- Record a login with codegen, then tidy it
- Rewrite a step using get_by_role
- Break a test and find it in the trace viewer
Supporting kitPlaywright Python Q&A โ4 ยท Clean, confident tests
~2 weeksTidy pytest tests with fixtures, Page Objects and data-driven runs.
Topics to learn
- pytest & fixtures (conftest.py)
- Config & command-line options
- Page Object Model in Python
- @pytest.mark.parametrize data-driven tests
Programs to practice
- Write a page fixture and reuse it across tests
- Build a LoginPage class and use it
- Parametrise a login test with 3 data sets
5 ยท API, CI & portfolio
~2 weeksA portfolio project that proves you crossed from manual to automation.
Topics to learn
- API testing with APIRequestContext
- storage_state to reuse a login
- pytest-xdist for parallel runs
- GitHub Actions on every push + a README
Programs to practice
- Assert an API response inside a test
- Run your suite in parallel with -n auto
- Write your 'manual to automation' CV & LinkedIn story
Want this tailored to YOUR situation?
Answer 6 quick questions โ experience, language, coding comfort, goal โ and get a personalized week-by-week plan with topics, programs to practice, and free resources for each step.
Build my roadmap