Skip to content

[🐛 Bug]: Selenium 4.37.0 on Jenkins - 401 unauthorized error no origin request header #16467

@SeleniumNinja

Description

@SeleniumNinja

Description

I am using Selenium 4.37.0 with Java and I am running my tests on Jenkins.
Inside my application there is redirection to another application - during this redirection in Chrome Browser console (f12) there is "401 unauthorized error - no origin request header". There is no bug during local run on my computer, this happens only during Jenkins remote run.

I am using newest chrome browser and newest chromedriver. Maybe ChromeOptions or Chrome Preferences are responsible for this ? My suspicion is also CORS policy. How can I get round this problem ?

Reproducible Code

I am using java 17 plus Selenium 4.37.0

ℹ️ Last known working version: 4.37.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-javaJava BindingsD-chromeI-questionApplied to questions. Issues should be closed and send the user to community resources.OS-windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions