@intuned/runtime-dev 1.3.12-ua.1 → 1.3.12-ua.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -104,7 +104,9 @@ async function launchChromium(options) {
|
|
|
104
104
|
const ua = await tmpPage.evaluate(() => navigator.userAgent);
|
|
105
105
|
await tmpBrowser.close();
|
|
106
106
|
if (ua) {
|
|
107
|
+
console.log("Detected UA:", ua);
|
|
107
108
|
userAgent = ua.replace("HeadlessChrome", "Chrome");
|
|
109
|
+
console.log("Using UA:", userAgent);
|
|
108
110
|
}
|
|
109
111
|
}
|
|
110
112
|
const context = await playwright.chromium.launchPersistentContext(userDataDir, {
|