gemini-testing / testplane

Testplane (ex-hermione) browser test runner based on mocha and wdio
https://testplane.io
MIT License
687 stars 62 forks source link

fix: correctly screen elements inside iframes #856

Closed DudaGod closed 6 months ago

DudaGod commented 6 months ago

What is done

getBoundingClientRect inside iframe returns DOMRect only inside this iframe and don't know nothing about offsets between this iframe and viewport. Therefore, a solution has been implemented that takes into account the indentation of the iframe

Fix issue - https://github.com/gemini-testing/hermione/issues/349