Skip to content

Commit 4bdb704

Browse files
author
rocketraccoon
committed
feat(mcp-tools): fix tests
1 parent 27330e5 commit 4bdb704

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/browser-context.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ export class BrowserContext {
3131
headless: this._options.headless ? "new" : false,
3232
desiredCapabilities: {
3333
"goog:chromeOptions": {
34-
args: process.env.DISABLE_BROWSER_SANDBOX ? ["--no-sandbox", "--disable-dev-shm-usage"] : [],
34+
args: process.env.DISABLE_BROWSER_SANDBOX
35+
? ["--no-sandbox", "--disable-dev-shm-usage", "--disable-web-security"]
36+
: [],
3537
},
3638
},
3739
});

test/playground/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<meta name="title" content="Element Click Test Playground" />
76
<title>Element Click Test Playground</title>
87
<style>
98
body {

0 commit comments

Comments
 (0)