Closed Bug 1659401 Opened 4 years ago Closed 4 years ago

"WebDriver:ElementClick" does not work on a button in an iframe outside of the viewport

Categories

(Remote Protocol :: Marionette, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1314462

People

(Reporter: alt.mholle, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0

Steps to reproduce:

See the attached repro.

I am using Selenium to click on a button inside of an iframe outside of the viewport.

Actual results:

Nothing happens.

Expected results:

The click action should execute, and the element/container of the element should scroll into the view (https://w3c.github.io/webdriver/#dfn-element-click).

The button click works when manually scrolling the element into view using driver.execute_script("arguments[0].scrollIntoView();", button)

Component: Untriaged → Marionette
Product: Firefox → Testing
Version: 80 Branch → unspecified
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: