@wordbricks/playwright-mcp 0.1.10 → 0.1.11

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.
Files changed (2) hide show
  1. package/lib/config.js +5 -0
  2. package/package.json +1 -1
package/lib/config.js CHANGED
@@ -82,6 +82,11 @@ export function configFromCLIOptions(cliOptions) {
82
82
  // --no-sandbox was passed, disable the sandbox
83
83
  if (cliOptions.sandbox === false)
84
84
  launchOptions.chromiumSandbox = false;
85
+ // Add default Chrome args to avoid automation detection
86
+ if (browserName === 'chromium') {
87
+ launchOptions.args = launchOptions.args || [];
88
+ launchOptions.args.push('--disable-blink-features=AutomationControlled');
89
+ }
85
90
  // --app was passed, add app mode argument
86
91
  if (cliOptions.app) {
87
92
  launchOptions.args = launchOptions.args || [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordbricks/playwright-mcp",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Playwright Tools for MCP",
5
5
  "type": "module",
6
6
  "repository": {