Skip to content

[🐛 Bug]:Selenium 4.36 on Jenkins - POST 401 unauthorized, no origin header #16460

@SeleniumNinja

Description

@SeleniumNinja

Description

I am using Selenium 4.36.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

Selenium 4.36.0 with Java 17, newest chrome driver

ℹ️ Last known working version: 4.36.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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions