cuprite
cuprite copied to clipboard
Having issues trying to get CORS working
When trying to get a test working which creates a request across two domains, the status received from the other domain is a 403, however setting the browser options to disable-web-security
doesn't resolve the issue and performing the same test in a browser manual works without any issues.
Is there something radically different in the way Cuprite handles CORS?
@SeTeM did you try to write that test for CORS on headless Chrome?
@route, no, I was working with CSP, not CORS
@SeTeM oh sorry, confused
@gregoryduckworth cuprite by default sets disable-web-security
did you try removing it?
@route - I've tried setting the disable-web-security
to true in the browser_options
when registering the driver but still no luck.
@gregoryduckworth I'll take a look if you can provide an isolated test