@sridharkikkeri/playwright-common 1.0.45 → 1.0.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -66,13 +66,17 @@ const packageJson = {
66
66
  'test:ui': 'playwright test --ui',
67
67
  'codegen': 'playwright codegen',
68
68
  'show-report': 'playwright show-report',
69
+ 'install-browsers': 'playwright install',
70
+ 'screenshot': 'playwright screenshot',
71
+ 'pdf': 'playwright pdf',
69
72
  'report': 'allure generate allure-results --clean -o allure-report && allure open allure-report',
70
73
  'lint': 'eslint .',
71
74
  'lint:fix': 'eslint . --fix'
72
75
  },
73
76
  dependencies: {
74
77
  '@playwright/test': '^1.42.0',
75
- 'allure-playwright': '^3.4.5'
78
+ 'allure-playwright': '^3.4.5',
79
+ 'playwright': '^1.42.0'
76
80
  },
77
81
  devDependencies: {
78
82
  '@typescript-eslint/eslint-plugin': '^8.55.0',
@@ -281,11 +285,14 @@ npm run report
281
285
  ## Playwright CLI Commands
282
286
 
283
287
  \`\`\`bash
284
- npm run test:headed # Run tests in headed mode
285
- npm run test:debug # Debug tests with Playwright Inspector
286
- npm run test:ui # Run tests in UI mode
287
- npm run codegen # Generate test code with Codegen
288
- npm run show-report # Show HTML report
288
+ npm run test:headed # Run tests in headed mode
289
+ npm run test:debug # Debug tests with Playwright Inspector
290
+ npm run test:ui # Run tests in UI mode
291
+ npm run codegen # Generate test code with Codegen
292
+ npm run show-report # Show HTML report
293
+ npm run install-browsers # Install browser binaries
294
+ npm run screenshot <url> # Take screenshot of URL
295
+ npm run pdf <url> # Generate PDF of URL
289
296
  \`\`\`
290
297
 
291
298
  ## Environment-Specific Tests
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sridharkikkeri/playwright-common",
3
- "version": "1.0.45",
3
+ "version": "1.0.46",
4
4
  "description": "Production-grade Playwright framework with AI-powered self-healing, visual regression, and enterprise features",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",