You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 30, 2023. It is now read-only.
Since phantomjs sees itself as a touch enabled browser it would be nice to be able to fire off touch events.
We have a page that attaches touch events for mobile browsers (i.e. when ('ontouchend' in window) == true) and click events for desktop.
When automating tests with mocha/jasmine and phantomjs touch events are attached but I can't dispatch any touch events from phantom so I'm a bit stuck.
So please add the possibility to send
touchstart
touchend
touchmove
and possibly
touchcenter
touchleave
touchcancel
to page.sendEvent()
I'm not sure on how multi touch would fit into all of this.
Maybe this would be a nice workaround for #10375 [phantomjs pretends to be a touch browser]
The text was updated successfully, but these errors were encountered:
It would not be a workaround at all :-) There are web page design which changes behavior when browser reports touch capabilities. I agree what adding those event would be nice thing, but ability to switch off touch capabilities is still very important. I wonder if QT5 version of WebKit allows such in runtime switching
Due to our very limited maintenance capacity (see #14541 for more details), we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed. In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!
Since phantomjs sees itself as a touch enabled browser it would be nice to be able to fire off touch events.
We have a page that attaches touch events for mobile browsers (i.e. when (
'ontouchend' in window) == true
) and click events for desktop.When automating tests with mocha/jasmine and phantomjs touch events are attached but I can't dispatch any touch events from phantom so I'm a bit stuck.
So please add the possibility to send
and possibly
to page.sendEvent()
I'm not sure on how multi touch would fit into all of this.
Maybe this would be a nice workaround for #10375 [phantomjs pretends to be a touch browser]
The text was updated successfully, but these errors were encountered: