Element Click unable to interact with element in <iframe> that is outside viewport
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 718
- Forks
- 228
- PR merge metrics
- No merged PRs in 30d
Description
The Element Click command is currently unable to interact with (hit) elements inside <iframe>s that are outside the viewport because it does not bring the <iframe> into view first. This is because Element.scrollIntoView on the element inside the frame only moves the viewport of the frame.
This bug was reported on geckodriver, so see https://github.com/mozilla/geckodriver/issues/1039 for more details.
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 with the Element Click behavior described in this issue and the linked geckodriver issue 1039. Trace how scrolling is defined for elements inside an iframe, then establish the expected behavior for an iframe outside the viewport; the issue is done when Element Click can interact with the target under that condition.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- api, testing-qa
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100