playwright-core
Advanced tools
Comparing version 1.50.0-alpha-2024-11-19 to 1.50.0-alpha-2024-11-20
@@ -18,5 +18,5 @@ { | ||
"name": "chromium-tip-of-tree", | ||
"revision": "1278", | ||
"revision": "1279", | ||
"installByDefault": false, | ||
"browserVersion": "133.0.6836.0" | ||
"browserVersion": "133.0.6846.0" | ||
}, | ||
@@ -37,3 +37,3 @@ { | ||
"name": "webkit", | ||
"revision": "2104", | ||
"revision": "2105", | ||
"installByDefault": true, | ||
@@ -40,0 +40,0 @@ "revisionOverrides": { |
@@ -31,3 +31,3 @@ "use strict"; | ||
async function launchApp(browserType, options) { | ||
var _options$persistentCo, _options$persistentCo2, _options$persistentCo3; | ||
var _options$persistentCo, _options$persistentCo2, _options$persistentCo3, _options$persistentCo4, _options$persistentCo5, _options$persistentCo6, _options$persistentCo7, _options$persistentCo8, _options$persistentCo9, _options$persistentCo10, _options$persistentCo11; | ||
const args = [...((_options$persistentCo = (_options$persistentCo2 = options.persistentContextOptions) === null || _options$persistentCo2 === void 0 ? void 0 : _options$persistentCo2.args) !== null && _options$persistentCo !== void 0 ? _options$persistentCo : [])]; | ||
@@ -38,8 +38,8 @@ if (browserType.name() === 'chromium') { | ||
const context = await browserType.launchPersistentContext((0, _instrumentation.serverSideCallMetadata)(), '', { | ||
channel: !((_options$persistentCo3 = options.persistentContextOptions) !== null && _options$persistentCo3 !== void 0 && _options$persistentCo3.executablePath) ? (0, _registry.findChromiumChannel)(options.sdkLanguage) : undefined, | ||
noDefaultViewport: true, | ||
ignoreDefaultArgs: ['--enable-automation'], | ||
colorScheme: 'no-override', | ||
acceptDownloads: (0, _utils.isUnderTest)() ? 'accept' : 'internal-browser-default', | ||
...(options === null || options === void 0 ? void 0 : options.persistentContextOptions), | ||
channel: (_options$persistentCo3 = (_options$persistentCo4 = options.persistentContextOptions) === null || _options$persistentCo4 === void 0 ? void 0 : _options$persistentCo4.channel) !== null && _options$persistentCo3 !== void 0 ? _options$persistentCo3 : !((_options$persistentCo5 = options.persistentContextOptions) !== null && _options$persistentCo5 !== void 0 && _options$persistentCo5.executablePath) ? (0, _registry.findChromiumChannel)(options.sdkLanguage) : undefined, | ||
noDefaultViewport: (_options$persistentCo6 = (_options$persistentCo7 = options.persistentContextOptions) === null || _options$persistentCo7 === void 0 ? void 0 : _options$persistentCo7.noDefaultViewport) !== null && _options$persistentCo6 !== void 0 ? _options$persistentCo6 : true, | ||
acceptDownloads: (_options$persistentCo8 = options === null || options === void 0 || (_options$persistentCo9 = options.persistentContextOptions) === null || _options$persistentCo9 === void 0 ? void 0 : _options$persistentCo9.acceptDownloads) !== null && _options$persistentCo8 !== void 0 ? _options$persistentCo8 : (0, _utils.isUnderTest)() ? 'accept' : 'internal-browser-default', | ||
colorScheme: (_options$persistentCo10 = options === null || options === void 0 || (_options$persistentCo11 = options.persistentContextOptions) === null || _options$persistentCo11 === void 0 ? void 0 : _options$persistentCo11.colorScheme) !== null && _options$persistentCo10 !== void 0 ? _options$persistentCo10 : 'no-override', | ||
args | ||
@@ -46,0 +46,0 @@ }); |
@@ -97,3 +97,2 @@ "use strict"; | ||
for (const reporter of options.reporter || []) params.append('reporter', reporter); | ||
params.set('server', server.urlPrefix('precise')); | ||
const urlPath = `./trace/${options.webApp || 'index.html'}?${params.toString()}`; | ||
@@ -100,0 +99,0 @@ server.routePath('/', (_, response) => { |
{ | ||
"name": "playwright-core", | ||
"version": "1.50.0-alpha-2024-11-19", | ||
"version": "1.50.0-alpha-2024-11-20", | ||
"description": "A high-level API to automate web browsers", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
7971437
109169