@sridharkikkeri/playwright-common 1.0.45 → 1.0.47

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,18 @@ 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',
80
+ '@playwright/mcp-server': 'latest'
76
81
  },
77
82
  devDependencies: {
78
83
  '@typescript-eslint/eslint-plugin': '^8.55.0',
@@ -281,13 +286,34 @@ npm run report
281
286
  ## Playwright CLI Commands
282
287
 
283
288
  \`\`\`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
289
+ npm run test:headed # Run tests in headed mode
290
+ npm run test:debug # Debug tests with Playwright Inspector
291
+ npm run test:ui # Run tests in UI mode
292
+ npm run codegen # Generate test code with Codegen
293
+ npm run show-report # Show HTML report
294
+ npm run install-browsers # Install browser binaries
295
+ npm run screenshot <url> # Take screenshot of URL
296
+ npm run pdf <url> # Generate PDF of URL
289
297
  \`\`\`
290
298
 
299
+ ## AI Agents & Skills (Experimental)
300
+
301
+ This project includes Playwright MCP Server with AI Agents:
302
+
303
+ **Agents:**
304
+ - 🤖 **Planner** - Plans test scenarios
305
+ - 🔧 **Generator** - Generates test code
306
+ - 🩹 **Healer** - Auto-fixes failing tests
307
+
308
+ **Skills:**
309
+ - Run tests
310
+ - Inspect DOM
311
+ - Generate selectors
312
+ - Heal failures
313
+ - Seed environment
314
+
315
+ See [Playwright CLI Agents](https://github.com/microsoft/playwright-cli) for setup.
316
+
291
317
  ## Environment-Specific Tests
292
318
 
293
319
  \`\`\`bash
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.47",
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",