snikt
snikt

Reputation: 601

Chrome headless does not work with Re-direct (OAUTH2)

When I run my protractor project normally, everything is fine, but in headless mode, it does not work, times-out waiting for the first element I need.

I feel that because the page redirects due to OAUTH2, in headless it fails.

I have tried '--ignore-certificate-errors' but this has not worked for me. I have also tried '--disable-dev-shm-usage' without success. I have tried other ones like ignore ssl errors, localhost, etc, nothing seems to work.

Has anybody run into this issue?

Upvotes: 0

Views: 734

Answers (1)

snikt
snikt

Reputation: 601

Solved it by changed --user-agent value in chrome args

Upvotes: 1

Related Questions