You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: allow to switch off 'setDownloadBehavior' for chromium #35131
Is there a chance to add env variable PW_CHROMIUM_DISABLE_DOWNLOAD_BEHAVIOR to crBrowser file ? mainly because 'setDownloadBehavior' isn't supported in some electron versions and CEF as well here is previous discussion #10927
changed the title [-][Feature]: add env variable PW_CHROMIUM_DISABLE_DOWNLOAD_BEHAVIOR to crBrowser file[/-][+][Feature]: allow to switch off 'setDownloadBehavior' for chromium[/+]on Mar 10, 2025
The new default CEF mode supports Playwright out of the box.
confirm with process.env.PW_CHROMIUM_ATTACH_TO_OTHER = '1'; it's working with the latest
but it's available partly since v125 and fully since v128, and there are some still supporting applications with electron's chrome below v128 on board where cdp connection is being used for testing, i my case it's still v116
We support Electron v12+. I don’t think we want to support older CEF versions. Highly recommend updating. This also gives you the latest security and performance updates!
We support Electron v12+. I don’t think we want to support older CEF versions. Highly recommend updating. This also gives you the latest security and performance updates!
instead of accessing to electron code directly, i'm using cdp connection with --remote-debugging-port for connection to already being build instance of electron app, cause it's black box testing
Activity
[-][Feature]:[/-][+][Feature]: add env variable PW_CHROMIUM_DISABLE_DOWNLOAD_BEHAVIOR to crBrowser file[/+][-][Feature]: add env variable PW_CHROMIUM_DISABLE_DOWNLOAD_BEHAVIOR to crBrowser file[/-][+][Feature]: allow to switch off 'setDownloadBehavior' for chromium[/+]mxschmitt commentedon Mar 10, 2025
Whats your CEF version? They removed the old alloy mode last year. See chromiumembedded/cef#3684 and chromiumembedded/cef#3685. The new default CEF mode supports Playwright out of the box.
udarrr commentedon Mar 16, 2025
confirm with process.env.PW_CHROMIUM_ATTACH_TO_OTHER = '1'; it's working with the latest
but it's available partly since v125 and fully since v128, and there are some still supporting applications with electron's chrome below v128 on board where cdp connection is being used for testing, i my case it's still v116
mxschmitt commentedon Mar 17, 2025
We support Electron v12+. I don’t think we want to support older CEF versions. Highly recommend updating. This also gives you the latest security and performance updates!
udarrr commentedon Mar 17, 2025
Hence it's not true Max Schmitt (@mxschmitt)
Supported Electron versions are:
v12.2.0+
v13.4.0+
v14+
but electron with chrome v116 is v26.0.0 and affected all version till to electron v32.0.0
mxschmitt commentedon Mar 17, 2025
We run our tests on Electron v30 and they are passing: https://github.com/microsoft/playwright/actions/runs/13854611069/job/38768602175 - what are we doing different?
udarrr commentedon Mar 17, 2025
instead of accessing to electron code directly, i'm using cdp connection with --remote-debugging-port for connection to already being build instance of electron app, cause it's black box testing
mxschmitt commentedon Mar 17, 2025
This is unsupported. We only support controlling Electron launched via Playwright.