Skip to content

A plugin marketplace for GitHub Copilot and other AI agents that provides Power Platform development plugins, including reusable skills, agents, and commands for building and deploying solutions.

Stop launching Playwright in fullscreen mode (#30)

Priyanshu Agrawal3f8735505cf5
diff --git a/plugins/power-pages/scripts/launch-playwright-mcp.js b/plugins/power-pages/scripts/launch-playwright-mcp.js
index cef9017a3..435e90282 100644
--- a/plugins/power-pages/scripts/launch-playwright-mcp.js
+++ b/plugins/power-pages/scripts/launch-playwright-mcp.js
@@ -69,8 +69,7 @@ function detectBrowser() {
}
const browser = detectBrowser();
-const configPath = path.join(__dirname, 'playwright-mcp-config.json');
-const child = spawn('npx', ['@playwright/mcp@latest', '--browser', browser, '--config', configPath], {
+const child = spawn('npx', ['@playwright/mcp@latest', '--browser', browser], {
stdio: 'inherit',
shell: true,
});
diff --git a/plugins/power-pages/scripts/playwright-mcp-config.json b/plugins/power-pages/scripts/playwright-mcp-config.json
deleted file mode 100644
index bed28861b..000000000
--- a/plugins/power-pages/scripts/playwright-mcp-config.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "browser": {
- "launchOptions": {
- "args": ["--start-maximized"]
- },
- "contextOptions": {
- "viewport": null
- }
- }
-}