`npx playwright open --save-har=file.har` produces a HAR file that can be later inspected or used for mocks. `--save-har-glob="**/*.{png,woff2}"` option can be used to produce a smaller har that only contains entries matching the glob.