fix return page grays
This commit is contained in:
parent
9320eb8b95
commit
d1e12f36da
|
|
@ -157,15 +157,8 @@ export class GraysProductBid extends ProductBid {
|
||||||
|
|
||||||
await this.page_context.click("button");
|
await this.page_context.click("button");
|
||||||
|
|
||||||
// await this.page_context.waitForNavigation({ timeout: 5000 });
|
|
||||||
|
|
||||||
await delay(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'");
|
console.log("✅ Found 'Successfully'");
|
||||||
|
|
||||||
await pushPrice({
|
await pushPrice({
|
||||||
|
|
@ -195,7 +188,6 @@ export class GraysProductBid extends ProductBid {
|
||||||
|
|
||||||
async handleReturnProductPage() {
|
async handleReturnProductPage() {
|
||||||
await this.page_context.goto(this.url);
|
await this.page_context.goto(this.url);
|
||||||
await delay(1000);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async handleUpdateBid({
|
async handleUpdateBid({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue