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({