Remove userAgent parameter since any modification is detected by CF

This commit is contained in:
ngosang
2021-10-16 17:46:04 +02:00
parent 3de2e44bfd
commit 78c10d6b24
4 changed files with 9 additions and 23 deletions

View File

@@ -46,7 +46,6 @@ async function testChromeInstallation() {
fs.writeFileSync(filePath, fileContent)
// launch the browser
const session = await sessions.create(sessionId, {
userAgent: null,
oneTimeSession: true
})
const page = await session.browser.newPage()