Attaching the screenshot
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
As per the documentation from Microsoft, we can use "User-Agent Client Hints" to detect the browser reliably. https://learn.microsoft.com/en-us/microsoft-edge/web-platform/user-agent-guidance
However, we found out while using edge browser that when we browse certain google sites , the browser is detected as 'chrome' while we expected it to be detected as 'Edge'.
Attaching the screenshot of a HTTP request header for the case where we had a wrong browser detection.
Question is: Why under these cases does the 'Sec-Ch-Ua' field of the HTTP transaction do not have the browser hint properly set?
Test Environment and steps to reproduce the issue:
Open the Edge browser on a windows VM
Site navigated on Edge browser was: mail.google.com/, drive.google.com/
Test environment: This issue was seen while using Edge browser on a windows VM.
Version of Edge browser: Version 144.0.3719.92 , Version 143.0.3650.66 (Issue was seen on both these Edge browser versions)
Windows VM details:
OS Build: 19045.6466
Windows 10 Pro Version 22H2
RAM: 8GB
Storage: 80 GB Red Hat VirtIO
System Type: 64-bit operating system, x64-based processor
Attaching the screenshot
Hi @autotest2 and @qa scope
Thanks for the details and screenshot!I tested the same scenario on my side and the request headers were showing Microsoft Edge correctly, so in a normal environment everything works as expected.
From what you’ve captured, I believe the difference you’re seeing is not because Edge is broken or because the documentation is unclear, but likely because something in your environment is affecting the headers before they reach the server or are logged.
From my research, modern browsers use a mechanism called User-Agent Client Hints to send browser identity information in structured headers like Sec-CH-UA. This is the replacement for the old single User-Agent string and is designed to be privacy-friendly while still allowing sites to detect the browser brand (e.g., Edge).
Under normal conditions, a browser like Edge includes its brand (for example, "Microsoft Edge") in these client hint headers. That’s what my test showed when I browsed the same type of pages.
In your case, it looks like the header values you captured don’t clearly show “Microsoft Edge” even though you’re using Edge that suggests something external in your environment may be modifying, stripping, or reducing those headers before they’re sent or logged. This could be caused by:
When any of those are in play, the Sec-CH-UA and related client hints can look different than expected, and it can appear as if a browser is being detected as Chrome/Chromium instead of Edge.
To help narrow down the cause, perhaps you could try some of these suggestions:
1) Check Edge policies
edge://policy in the address bar.2) Try a clean browser profile
3) Temporarily disable security/privacy software
4) Check the network path
Hope this helps! If you have any questions, please feel free to comment below. I'll be happy to assist!