豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit bce1216

Browse files
committed
remove trailing logs
1 parent 5590f25 commit bce1216

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/browser.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ interface McpLaunchOptions {
148148
}
149149

150150
export async function launch(options: McpLaunchOptions): Promise<Browser> {
151-
console.log('🔥', options);
152151
const {channel, executablePath, headless, isolated} = options;
153152
const profileDirName =
154153
channel && channel !== 'stable'
@@ -175,8 +174,6 @@ export async function launch(options: McpLaunchOptions): Promise<Browser> {
175174
const ignoreDefaultArgs: LaunchOptions['ignoreDefaultArgs'] =
176175
options.ignoreDefaultChromeArgs ?? false;
177176

178-
console.log(ignoreDefaultArgs);
179-
180177
if (headless) {
181178
args.push('--screen-info={3840x2160}');
182179
}

tests/cli.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ describe('cli args parsing', () => {
132132
`--chrome-arg='--no-sandbox'`,
133133
`--chrome-arg='--disable-setuid-sandbox'`,
134134
]);
135-
console.log('assert log -> ', args);
136135
assert.deepStrictEqual(args, {
137136
...defaultArgs,
138137
_: [],
@@ -151,7 +150,6 @@ describe('cli args parsing', () => {
151150
`--ignore-default-chrome-arg='--disable-extensions'`,
152151
`--ignore-default-chrome-arg='--disable-cancel-all-touches'`,
153152
]);
154-
console.log('assert log -> ', args);
155153
assert.deepStrictEqual(args, {
156154
...defaultArgs,
157155
_: [],

0 commit comments

Comments
 (0)