On 2013-07-16 6:52 AM, Neil wrote:
How do I write a test for a double-click event, or does anyone know an
existing test that I can cargo-cult from?
synthesizeMouse(element, x, y, {clickCount: 2}, window);
should do it.
Cheers,
Ehsan
___
dev-platfor
How do I write a test for a double-click event, or does anyone know an
existing test that I can cargo-cult from?
--
Warning: May contain traces of nuts.
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev
2 matches
Mail list logo