microsoft / microsoft/playwright
[Feature]: Sign windows Binaries and browser exe's
@dgozman is already working on this.
Since Nov 14, 2025.
- Dominant language
- TypeScript
- Stars
- 96.3k
- Forks
- 6.5k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 180
Description
### 🚀 Feature Request
Version
1.40.0
Steps to reproduce
It has now been established that it is the chrome.exe file that does not have a digital signature on the file that is blocked by Microsoft Applocker. The exe file is located outside C:\Program Files and C:\Program Files (x86) which causes files without a digital signature to be blocked by Microsoft Applocker. We have used our own certificate to temporarily solve the problem and have digitally signed the file and have tested that this is the cause. Would be good if the exe file has a digital signature from the beginning in future versions.
In the Windows log when Applocker blocked
%OSDRIVE%\USERS\uuyP\APPDATA\LOCAL\MS-PLAYWRIGHT\CHROMIUM-1091\CHROME-WIN\CHROME.EXE was prevented from running.
on further googling, this is what we found:
When you install Chromium through MS Playwright using C#, it downloads Chromium from the Playwright servers.
As Chromium is an open-source project, it may not have a digital signature because it's not necessarily released by an officially recognized entity that would provide a digital signature, such as Google or Microsoft.
However, if you need to add a digital signature to the Chromium executable for your specific use case, you would need a code-signing certificate and a tool like signtool.exe (part of the Windows SDK) to manually sign the executable.
Can Playwright solve this problem better, as its making Playwright non-usable.
Expected behavior
Playwright should use Chrome.exe with digital signature for security reasons.
Actual behavior
Playwright looks non-usable.
Additional context
No response
Environment
Windows10 - 64 bit
### Example
_No response_
### Motivation
https://github.com/microsoft/playwright/issues/34862
https://github.com/microsoft/playwright-dotnet/issues/3070
https://github.com/microsoft/playwright/issues/17165
https://github.com/microsoft/playwright-java/issues/1016
https://github.com/microsoft/playwright-java/issues/1089
Multiple issues reported from various enterprise customers
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.