You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
On newer versions of Firefox I recieving SecurityError: Permission denied to access property "pageXOffset" on cross-origin object when using browser.checkElement() function on cross-origin iFrame, cannot provide our app, but can be simulated by test on example below.
It's happening only on Firefox, works fine on newer versions Chrome.
Expected behavior
Comparison will work normally like on Chrome browser.
Log
[firefox 103.0 LINUX #1-0] SecurityError: Permission denied to access property "pageXOffset" on cross-origin object
[firefox 103.0 LINUX #1-0] unknown error: SecurityError: Permission denied to access property "pageXOffset" on cross-origin object
[firefox 103.0 LINUX #1-0] at /Users/user/work/test/node_modules/webdriver-image-comparison/lib/methods/screenshots.ts:370:10
[firefox 103.0 LINUX #1-0] at Object.next (/Users/user/work/test/node_modules/webdriver-image-comparison/build/methods/screenshots.js:25:53)
The text was updated successfully, but these errors were encountered:
this module never officially supported iframes so never looked into this. I know that there can be cross-origin security issues with iframes. Are you able to interact with an element? Like clicking on it and so on?
Environment:
Config of WebdriverIO + wdio-image-comparison-service
An example of how you configured the wdio-image-comparison-service
Describe the bug
On newer versions of Firefox I recieving
SecurityError: Permission denied to access property "pageXOffset" on cross-origin object
when using browser.checkElement() function on cross-origin iFrame, cannot provide our app, but can be simulated by test on example below.It's happening only on Firefox, works fine on newer versions Chrome.
To Reproduce
Steps to reproduce the behavior:
Run
Expected behavior
Comparison will work normally like on Chrome browser.
Log
The text was updated successfully, but these errors were encountered: