From d1e12f36da6d4b3ad9652956ec1ee42cd33241f1 Mon Sep 17 00:00:00 2001 From: Admin Date: Mon, 8 Dec 2025 07:40:11 +0700 Subject: [PATCH] fix return page grays --- auto-bid-tool/models/grays.com/grays-product-bid.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/auto-bid-tool/models/grays.com/grays-product-bid.js b/auto-bid-tool/models/grays.com/grays-product-bid.js index d602a97..56cf767 100644 --- a/auto-bid-tool/models/grays.com/grays-product-bid.js +++ b/auto-bid-tool/models/grays.com/grays-product-bid.js @@ -157,15 +157,8 @@ export class GraysProductBid extends ProductBid { await this.page_context.click("button"); - // await this.page_context.waitForNavigation({ timeout: 5000 }); - await delay(5000); - // await this.page_context.waitForFunction( - // () => document.body.innerText.includes("Successfully"), - // { timeout: 5000 } // hoặc lâu hơn nếu cần - // ); - console.log("✅ Found 'Successfully'"); await pushPrice({ @@ -195,7 +188,6 @@ export class GraysProductBid extends ProductBid { async handleReturnProductPage() { await this.page_context.goto(this.url); - await delay(1000); } async handleUpdateBid({