This commit is contained in:
NAME
2026-05-12 02:51:54 +00:00
parent c8ccb032d2
commit 8414a27cf9
+1 -1
View File
@@ -284,7 +284,7 @@ export class XBrowserService implements OnModuleInit, OnModuleDestroy {
} catch { } catch {
console.log('fallback → click by text'); console.log('fallback → click by text');
await page.locator('a[role="menuitem"]') await page.locator('a[role="menuitem"]')
.filter({hasText: 'Quote'}) .filter({hasText: /Quote|Trích dẫn/i})
.click(); .click();
} }
// // ===== CLICK QUOTE ===== // // ===== CLICK QUOTE =====