# Not able to select iFrames in iOS Safari

**URL:** <https://discuss.appium.io/t/not-able-to-select-iframes-in-ios-safari/37944>\
**Category:** Issues/Bugs\
**Created:** [December 5, 2022, 12:41pm UTC](https://discuss.appium.io/t/not-able-to-select-iframes-in-ios-safari/37944 "2022-12-05T12:41:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![agustinbravorubio](https://discuss.appium.io/user_avatar/discuss.appium.io/agustinbravorubio/32/9305_2.png) [@agustinbravorubio](https://discuss.appium.io/u/agustinbravorubio)\
**Post date:** [December 5, 2022, 12:41pm UTC](https://discuss.appium.io/t/not-able-to-select-iframes-in-ios-safari/37944/1 "2022-12-05T12:41:16Z")

</div>

We ran into an issue where we cannot select one iframe due to strict cross site policy.

I found this article: [https://appium.io/docs/en/advanced-concepts/cross-domain-iframes/](https://appium.io/docs/en/advanced-concepts/cross-domain-iframes/) , however we realized that document.domain will be deprecated very soon, so we cannot use this workaround:

- [https://developer.chrome.com/blog/immutable-document-domain/](https://developer.chrome.com/blog/immutable-document-domain/)
- [https://learn.microsoft.com/en-us/deployedge/edge-learnmore-origin-keyed-agent-cluster](https://learn.microsoft.com/en-us/deployedge/edge-learnmore-origin-keyed-agent-cluster)

We didn’t have any problems with Android / Chrome, desktop browsers (including Safari), also work fine, this issue is affecting iOS Safari only.  
Is this a new feature that could be implemented in Appium?

---

<div class="post-metadata">

**Author:** ![Aleksei](https://discuss.appium.io/user_avatar/discuss.appium.io/aleksei/32/6267_2.png) [@Aleksei](https://discuss.appium.io/u/Aleksei)\
**Post date:** [December 19, 2022, 8:58pm UTC](https://discuss.appium.io/t/not-able-to-select-iframes-in-ios-safari/37944/2 "2022-12-19T20:58:48Z")

</div>

> [@agustinbravorubio](#):
>
> strict cross site policy

> <https://stackoverflow.com/questions/25098021/securityerror-blocked-a-frame-with-origin-from-accessing-a-cross-origin-frame>
