Playwright Automation Framework Architecture
I’m learning Playwright with TypeScript and building my first automation framework. One thing confusing me is fixtures. Some examples use the default page fixture directly in tests, while others create custom fixtures and inject page objects through them. Both approaches seem to work, but I don’t understand which one is better for a real project long term. Right now, my framework is still small https://github.com/Arun-Bennyx/playwright-ts For people who worked on larger Playwright projects, would you normally keep things simple with the built-in fixtures unless there’s a real need, or is using
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.