Skip to content

Commit

Permalink
chore: 去除日志
Browse files Browse the repository at this point in the history
  • Loading branch information
14790897 committed Dec 24, 2024
1 parent 9864587 commit 3a21eca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bypasscf.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ async function launchBrowserForUser(username, password) {
console.error(`Page error: ${error.message}`);
});
page.on("error", async (error) => {
console.error(`Error: ${error.message}`);
// console.error(`Error: ${error.message}`);
// 检查是否是 localStorage 的访问权限错误
if (
error.message.includes(
Expand All @@ -200,7 +200,7 @@ async function launchBrowserForUser(username, password) {
}
});
page.on("console", async (msg) => {
console.log("PAGE LOG:", msg.text());
// console.log("PAGE LOG:", msg.text());
// 使用一个标志变量来检测是否已经刷新过页面
if (
!page._isReloaded &&
Expand Down
4 changes: 2 additions & 2 deletions bypasscf_likeUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ async function launchBrowserForUser(username, password) {
console.error(`Page error: ${error.message}`);
});
page.on("error", async (error) => {
console.error(`Error: ${error.message}`);
// console.error(`Error: ${error.message}`);
// 检查是否是 localStorage 的访问权限错误
if (
error.message.includes(
Expand All @@ -200,7 +200,7 @@ async function launchBrowserForUser(username, password) {
}
});
page.on("console", async (msg) => {
console.log("PAGE LOG:", msg.text());
// console.log("PAGE LOG:", msg.text());
// 使用一个标志变量来检测是否已经刷新过页面
if (
!page._isReloaded &&
Expand Down

0 comments on commit 3a21eca

Please sign in to comment.