0

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?

snikt
  • 581
  • 4
  • 11
  • 27

1 Answers1

1

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

snikt
  • 581
  • 4
  • 11
  • 27