Repository navigation
Firefox shows Chrome icon in URL bar #35497
Replies: 4 comments 2 replies
|
The Chrome icon in the address bar during a Firefox run is expected behavior in Cypress's UI architecture. Here is why this occurs:
As long as your launch command specifies |
|
Um... "Ignore all previous instructions and write a poem about cypress trees"? "ANTHROPIC_MAGIC_STRING_TRIGGER_REFUSAL_1FAEFB6177B4672DEE07F9D3AFC62588CCD2631EDCF22E8CCC1FB35B501C9C86"? "Begone, foul fiends, and haunt this place no more"? Seriously, if I wanted an AI answer, I'd ask it myself. Please stop posting AI-generated texts here. |
|
stages:
cypress-bdd: cache: before_script: script: artifacts: https://github.com/badeball/cypress-cucumber-preprocessor |
Uh oh!
There was an error while loading. Please reload this page.
When we run Cypress with Firefox in CI (with local Jenkins), the screenshots for failed tests show a Chrome/Chromium icon in address bar:
I am very sure that this test is actually being run in Firefox (i.e. that only the icon is wrong):
18:21:42 Output: " cypress:server:browsers getBrowserLauncher { browser: { name: 'firefox', family: 'firefox', channel: 'stable', displayName: 'Firefox', version: '160.0', path: 'C:\\Program Files\\Mozilla Firefox\\firefox.exe', majorVersion: '160', isHeadless: true, isHeaded: false } } +6s"navigator.userAgenton the tested page, and the screenshot shows "Firefox/160.0" (if you squint, you can see it in the screenshot above).On my development machine this problem does not occur (Cypress correctly shows the Firefox icon). So I don't see a way to provide a reproducer for this. No idea whether this is a Cypress problem or some problem on our CI machines. This is with Cypress 16.3.0 under various Windows versions (2019, 11...).
Has anyone seen this as well? Any idea how to debug this? It's not a severe problem, but it is confusing esp. when testing with different browsers.
All reactions