Update
This commit is contained in:
@@ -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 =====
|
||||||
|
|||||||
Reference in New Issue
Block a user