Closed jkostrhun closed 1 year ago
Hi @jkostrhun
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?
Hi @wswebcreation ,
yes, this issue is only with browser.checkElement() function while taking screenshot.
Closing this as it's a third party dependency issue, see also https://github.com/mozilla/geckodriver/issues/2068
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