Skip to content

cy.visit and cy.request doesn't submit current browser's User-Agent header #230

@harz87

Description

@harz87

We are using ruby gem https://github.com/fnando/browser
to check if the browser is supported by our App.
They are using request.headers["User-Agent"] to identify the browser.

In an normal chrome instance User-Agent is set correctly and Cypress "Chrome" it is suppressed and not submitted.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions