Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to interact with elements within a scaled frame #1854

Open
christian-bromann opened this issue Oct 30, 2024 · 1 comment
Open

Fails to interact with elements within a scaled frame #1854

christian-bromann opened this issue Oct 30, 2024 · 1 comment

Comments

@christian-bromann
Copy link
Member

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 webdriverio/webdriverio#13724

@whimboo
Copy link
Contributor

whimboo commented Oct 30, 2024

I thought that we already had such an issue filed but I cannot find one.

See w3c/webdriver-bidi#787 as well for WebDriver BiDi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants