I am experiencing an “CORS Missing Allow Origin” Error during my automated testing.
My “research” into that error yielded, that I would need some additional response-headers to the effect of:
“Access-Control-Allow-Credentials: true”
“Access-Control-Allow-Origin: *”
I am looking into a proxy solution to this problem, but It feels like there should be some Option in the “New Browser”/“New Context”-Method to resolve this issue.
Maybe I am missing some existing capabilities. Any help would be appreciated
Kind Regards
Tim
P.S.:
I am pretty sure that the problem should be solvable on my side (rather than only from the third-party server side), because the HTTP(S)-Request are appropriatly handled when I manually execute them through a classic browser or Postman.
P.S.S.:
When I debug my test, open up the firefox-inspector and resend the http-requests, I receive the correct response. And my request suddenly also uses HTTPS instead of HTTP.
I am now -officially- confused…