diff --git a/agent/main/package.json b/agent/main/package.json index 4a91b2bba..eb7d24c8d 100644 --- a/agent/main/package.json +++ b/agent/main/package.json @@ -4,7 +4,7 @@ "description": "Fully programmable Devtools Protocol based browser", "main": "index.js", "dependencies": { - "@ulixee/chrome-128-0": "^6613.138.11", + "@ulixee/chrome-130-0": "^6723.92.11", "@ulixee/chrome-app": "^1.0.3", "@ulixee/commons": "2.0.0-alpha.30", "@ulixee/js-path": "2.0.0-alpha.30", diff --git a/plugins/default-browser-emulator/test/navigator.test.ts b/plugins/default-browser-emulator/test/navigator.test.ts index cfaa34267..1258f375f 100644 --- a/plugins/default-browser-emulator/test/navigator.test.ts +++ b/plugins/default-browser-emulator/test/navigator.test.ts @@ -16,9 +16,9 @@ let navigatorConfig: any; let browser: Browser; beforeEach(Helpers.beforeEach); beforeAll(async () => { - const selectBrowserMeta = BrowserEmulator.selectBrowserMeta('~ mac = 10.15'); + const selectBrowserMeta = BrowserEmulator.selectBrowserMeta('~ mac = 11'); const { browserVersion, operatingSystemVersion } = selectBrowserMeta.userAgentOption; - const asOsDataDir = `${emulatorDataDir}/as-chrome-${browserVersion.major}-0/as-mac-os-${operatingSystemVersion.major}-${operatingSystemVersion.minor}`; + const asOsDataDir = `${emulatorDataDir}/as-chrome-${browserVersion.major}-0/as-mac-os-${operatingSystemVersion.major}`; const navigatorJsonPath = `${asOsDataDir}/window-navigator.json`; ({ navigator: navigatorConfig } = JSON.parse(Fs.readFileSync(navigatorJsonPath, 'utf8')) as any); @@ -93,9 +93,7 @@ test('it should handle overflows in plugins', async () => { // should handle Uint32 overflows await expect( - page.mainFrame.evaluate( - `navigator.plugins.item(4294967296) === navigator.plugins[0]`, - ), + page.mainFrame.evaluate(`navigator.plugins.item(4294967296) === navigator.plugins[0]`), ).resolves.toBe(true); // should correctly support instance references diff --git a/yarn.lock b/yarn.lock index 585950d21..f23dc5550 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1938,10 +1938,10 @@ dependencies: "@ulixee/js-path" "^2.0.0-alpha.18" -"@ulixee/chrome-128-0@^6613.138.11": - version "6613.138.11" - resolved "https://registry.npmjs.org/@ulixee/chrome-128-0/-/chrome-128-0-6613.138.11.tgz" - integrity sha512-efglwyxEq0UW/Qr6lvMi25aDwv8Ea4XwrLmd/MFPKAThZXI+vg6NoirT7lbtJ0RF02G6dvVX1OoEXnZH8rfQjg== +"@ulixee/chrome-130-0@^6723.92.11": + version "6723.92.11" + resolved "https://registry.yarnpkg.com/@ulixee/chrome-130-0/-/chrome-130-0-6723.92.11.tgz#d1c11090911817d1838deb65958abc05bc2cfb94" + integrity sha512-omNgBjC4DhFRQq90TmoT0t9CqoNsOEf9DTovdhYGdfp1PZw57zbfFh/sBFI5NVUKpp2JiXugR4m1sd2Gdyi2/Q== dependencies: "@ulixee/chrome-app" "^1.0.3"