Hello,
I am running my script on Safari browser on iPhone 13 pro device. I am using BrowserStack cloud platform for running my scripts.
I am getting following error while switching to a frame which contents input boxes for entering credit card details. iFrame src contains url for stripe payment site.
WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Blocked a frame with origin “” from accessing a cross-origin frame. Protocols, domains, and ports must match.
Stacktrace:
UnknownError: An unknown server-side error occurred while processing the command. Original error: Blocked a frame with origin “” from accessing a cross-origin frame. Protocols, domains, and ports must match.
at errorFromMJSONWPStatusCode (/nix/store/5hlpmsgwcjy80y53pl35cqhrjkw7rnsq-appium-1.21.0/node_modules/appium-base-driver/lib/protocol/errors.js:767:10)
at convertResult (/nix/store/5hlpmsgwcjy80y53pl35cqhrjkw7rnsq-appium-1.21.0/node_modules/appium-xcuitest-driver/node_modules/appium-remote-debugger/lib/utils.js:222:11)
at RemoteDebuggerRealDevice.execute (/nix/store/5hlpmsgwcjy80y53pl35cqhrjkw7rnsq-appium-1.21.0/node_modules/appium-xcuitest-driver/node_modules/appium-remote-debugger/lib/mixins/execute.js:135:10)
at RemoteDebuggerRealDevice.executeAtom (/nix/store/5hlpmsgwcjy80y53pl35cqhrjkw7rnsq-appium-1.21.0/node_modules/appium-xcuitest-driver/node_modules/appium-remote-debugger/lib/mixins/execute.js:27:17)
Is there any solution or workaround to this problem?