diff --git a/package.json b/package.json index f0101afc..c71db76f 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "license": "Apache-2.0", "dependencies": { "debug": "^4.1.0", - "devtools-protocol": "0.0.754670", + "devtools-protocol": "0.0.767361", "extract-zip": "^2.0.0", "https-proxy-agent": "^4.0.0", "mime": "^2.0.3", diff --git a/src/revisions.ts b/src/revisions.ts index 9b307e9d..00166b52 100644 --- a/src/revisions.ts +++ b/src/revisions.ts @@ -20,6 +20,6 @@ type Revisions = Readonly<{ }>; export const PUPPETEER_REVISIONS: Revisions = { - chromium: '756035', + chromium: '768783', firefox: 'latest', }; diff --git a/test/cookies.spec.ts b/test/cookies.spec.ts index e2c41f2b..ea840fe7 100644 --- a/test/cookies.spec.ts +++ b/test/cookies.spec.ts @@ -406,7 +406,9 @@ describe('Cookie specs', () => { expect(await page.evaluate('document.cookie')).toBe( 'localhost-cookie=best' ); - expect(await page.frames()[1].evaluate('document.cookie')).toBe(''); + expect(await page.frames()[1].evaluate('document.cookie')).toBe( + '127-cookie=worst' + ); expect(await page.cookies()).toEqual([ { diff --git a/utils/check_availability.js b/utils/check_availability.js index 1a5f2cab..86e2f034 100755 --- a/utils/check_availability.js +++ b/utils/check_availability.js @@ -17,7 +17,8 @@ const assert = require('assert'); const https = require('https'); -const BrowserFetcher = require('../lib/BrowserFetcher').BrowserFetcher; +// run `npm run dev-install` if lib dir is missing +const BrowserFetcher = require('../lib/cjs/node/BrowserFetcher').BrowserFetcher; const SUPPORTER_PLATFORMS = ['linux', 'mac', 'win32', 'win64']; const fetchers = SUPPORTER_PLATFORMS.map(