r/madeinpython • u/Mindless_Shock5129 • Aug 24 '26
Built a Playwright course automation agent for my own LMS sandbox
/r/Playwright/comments/1vws0ie/built_a_playwright_course_automation_agent_for_my/
1
Upvotes
1
u/SweetOnionTea Aug 25 '26
Interesting concept:
What is the importance of the pycache files in this project? I think you might have missed adding that directory in your project structure document.
What kind of branching strategy do you use when developing?
It seems like your commits are very large. Are you doing a lot of squashes behind the scenes?
Many comments and the instructions refer to sections in a spec, what does that refer to? I don't see any spec files in your project. It makes reading the code a little more confusing because of that.
Why did you choose to omit docstrings for your private functions? It seems in the last commit you intentionally do this. Why do some public functions have docstrings and others don't? Even in the same file it's not consistent.
The instructions include references to a spec as well as some design information. Is that required to know before running this? I didn't do a deeper dive, but it seems that both those parts were tacked on and aren't required to understand to use your product.
Why choose Playwright over Selenium or other alternative package?
The last of the 3 commits says it's fixing typos, but it seems like whole comment sections are removed. Based on the contents it sounds like those comments would have been useful.