Problem:
Blocked a frame with origin "https://www.xyz.com" from accessing a frame with origin "https://www.abc.com". Protocols, domains, and ports must match.
This is primarily an issue on Mobile testing (virtual and real devices).
Why is this important?
Apple has implemented a Same Origin policy that restricts this type of automated testing. Appium's guide to cross domain iframes
Some testing services have enabled this by using experimental Appium features. This is currently being evaluated by Sauce Labs.
Voice your support for this feature by creating a ticket with the Sauce Support Team. All you need to do is send an email to help@saucelabs.com.
Technical Details:
- only impacts Safari & Apple devices
Further reading:
Same-Origin policy is strictly enforced on Safari which means iframes with different domain names (or protocols or ports) will not be accessible while running automated tests.
CORS fixes do not apply here, this is the browser preventing cross origin behavior to avoid security problems within the current HTML document.