Playwright 1.65 changes how page object fields initialize
Playwright 1.65, released November 5, 2026, follows useDefineForClassFields from tsconfig.json, as tsc does. Page objects that build locators in field initializers from this.page now throw a TypeError as soon as a test creates them; assign those fields in the constructor instead. The test runner can also run under Bun, and new reports keep only the failures.