Fails to interact with elements within a scaled frame
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 718
- Forks
- 228
- PR merge metrics
- No merged PRs in 30d
Description
Given a user defines a frame via:
<div style="transform: scale(0.5); transform-origin: top left; margin: 1rem; width: 400px; height: 400px; border: 1px solid black">
<iframe id="scaled" src="./other.html?scaled" style="width: 100%; height: 100%; border: 0"></iframe>
</div>
Interactions with elements within that frame fail, e.g. don't happen. I assume it is because the driver fails to properly calculate the coordinates. Please find a great reproducible example here: https://github.com/hi-ogawa/reproductions/tree/main/webdriverio-css-transform created by a WebdriverIO community member.
see also https://github.com/webdriverio/webdriverio/issues/13724
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the linked webdriverio-css-transform reproduction and reviewing the related WebdriverIO issue. Compare interactions with the scaled iframe against an unscaled frame to isolate the failure. Done means interactions with elements inside the scaled frame succeed reliably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, html
- Domain
- testing-qa, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100