Skip to content

WebKit browsers can't change the user agent #31939

Open
@benchesh

Description

@benchesh

Current behavior

The userAgent can be set in the Cypress config, however this setting is not honoured when the Safari/Webkit browser is used.

Desired behavior

The userAgent can be changed on Safari/WebKit browser

Test code to reproduce

Run this test in the Safari/WebKit browser

cypress-io/cypress-test-tiny@master...benchesh:cypress-test-tiny:master

Cypress Version

14.5.0

Node version

v22.16.0

Operating System

mac OS 15.5

Debug Logs

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    browser: webkitIssue related to Webkit (Safari) browserexperiment: webkitIssues when using experimentalWebkitSupport

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions