Open Bug 1825284 Opened 2 years ago Updated 3 months ago

"WebDriver:ElementClick" for <option> fires mouse events without expected parameters

Categories

(Remote Protocol :: Marionette, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: canadahonk, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [webdriver:backlog])

Attachments

(1 file)

The mouse events fired when doing "WebDriver:ElementClick" on an <option> element does not include the expected parameters of the mouse events fired (button, buttons, position, etc).

We should likely switch to using event.synthesizeMouseAtPoint instead of event.mousedown/etc in this case.

(In reply to CanadaHonk [:canadahonk] from comment #0)

We should likely switch to using event.synthesizeMouseAtPoint instead of event.mousedown/etc in this case.

We have a specific order of events that we fire when simulation the selection of an option. So if event.synthesizeMouseAtPoint is emitting the same events it might be fine, but otherwise we might have to set all the required fields in opts when calling the different mouse events directly. Note that you would also have to take bug 1550680 into account here.

Blocks: 1550680
Priority: -- → P3
Whiteboard: [webdriver:backlog]

The severity field is not set for this bug.
:whimboo, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(hskupin)

CanadaHonk, would you be interested to help with this particular bug? It's blocking the other bug that you are working on and I'm not sure when I / we would get to this one. As usual I would assist where-ever I can. Thanks a lot.

Severity: -- → S3
Flags: needinfo?(hskupin) → needinfo?(oj)

Sure, just been busy as of late.

Flags: needinfo?(oj)
Assignee: nobody → oj

Previously mouse events fired when an <option> is clicked did not
include extra expected parameters (eg button).

Attachment #9354454 - Attachment description: WIP: Bug 1825284 - [marionette] Fire <option> click events with extra parameters → Bug 1825284 - [marionette] Fire <option> click events with extra parameters

Oliver, would you have a chance to check my review comments which require an update of the patch? Thanks.

Flags: needinfo?(omedhurst)

Sorry, I don't have the cycles to work on these patches at the moment.

Flags: needinfo?(omedhurst)

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: omedhurst → nobody
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: