Generate PointerEvents in web browser using selenium-java:3.4.0

14 views
Skip to first unread message

S F

unread,
Dec 13, 2017, 8:44:17 AM12/13/17
to Selenium Users
Hello,

I'm using selenium-java:3.4.0 and I am trying to generate PointerEvents objects in Chrome while making calls to TouchActions.perform(). But Chromedriver (2.34) will only generate me TouchEvents objects while making those calls. PointerEvents are more generic events than TouchEvents and allow to write more generic javascript code. 

So my question is, is there a way to generate PointerEvents in Chrome or in any web browsers using Selenium ? Or is it an issue with Chromedriver which do not provide to Selenium an API to generate PointerEvents ? I find strange that when making TouchActions.perform() calls in Selenium, the function called to produced those TouchEvents in Chromedriver are in a test folder: /chromium/chrome/test/chromedriver/js/dispatch_touch_event.js . Or am i missing something here ?

Thanks.

S F

unread,
Dec 14, 2017, 11:54:03 AM12/14/17
to Selenium Users
It is an issue with Chromedriver, they will fix the issue: https://bugs.chromium.org/p/chromium/issues/detail?id=794602
Reply all
Reply to author
Forward
0 new messages