[ad_1]
So far as I do know, presently it isn’t potential to disable cross-origin useful resource sharing restrictions in cellular safari. It might be nice if this could possibly be carried out or if somebody is aware of how to do that. This is able to be an extremely helpful characteristic for automated testing of internet functions on cellular Safari.
Sure I do know that we will do it with Chrome:
Disable identical origin coverage in Chrome
And there are alternatives to do it with desktop Safari:
https://stackoverflow.com/questions/4556429/disabling-same-origin-policy-in-safari#:~:textual content=Justpercent20enablepercent20thepercent20developerpercent20menu,restrictionspercent22percent20frompercent20thepercent20developpercent20menu.
And to do it manually on Mac for cellular Safari:
https://stackoverflow.com/a/72309627/16804973
However I have to do it inside Appium/Selenium code and I don’t discover any equal to Chrome possibility “-diasble-web-security”, as a result of there is no such thing as a such one for Safari: https://www.selenium.dev/selenium/docs/api/java/org/openqa/selenium/safari/SafariOptions.html
The final information I’ve discovered, was a request on Mac Builders web page about this: https://developer.apple.com/boards/thread/80927
Does anybody has an answer for this these days?
[ad_2]
