fix: update user-agent to current Edge 131 - Teams blocks old Chrome 121 with unsupported browser redirect

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
ValueOn AG 2026-02-16 16:08:14 +01:00
parent 537975723e
commit f5be3f886e

View file

@ -551,7 +551,7 @@ export class BotOrchestrator {
this._context = await this._browser.newContext({
permissions: ['microphone', 'camera'],
viewport: { width: 1280, height: 720 },
userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36',
userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0',
});
this._page = await this._context.newPage();