Reputation: 4463
I just update Chrome to v29.0.1547.57 and turning on 'Emulate Touch Events' (DevTools-->Overrides-->Emulate Touch Events) is no longer saved when I exit tabs. I exclusively work on mobile development and it is going to be a major pain if I now have to manually turn on touch emulation every time I open DevTools. I've looked through all of the extension API and DevTools documentation and found nothing. Does anyone know how I can always Emulate Touch Events when DevTools are open?
[EDIT] This is not an issue in Chrome Canary (v31). It looks like it was fixed back in July. I've been having some other issues with the current Canary build, though, so I would still like to be able to emulate touch events in the current stable build.
Upvotes: 4
Views: 11786
Reputation: 7490
This is an old question but as I found it on google and there is no answer I thou'g I'd add one.
currently setting the --touch-devices
flag on chrome start up set chrome up to fire touch events on devices.
N.b. I am working on a touch screen device using touch enabled monitors and a packaged chrome app. Setting this flag in the start up config allows touchstart
, touchend
etc to be fired.
Upvotes: 0
Reputation: 49142
You can start Chrome with --simulate-touch-screen-with-mouse
which was recently renamed from --emulate-touch-events
. How to use these command line flags
Unfortunately there is no way to persist the touch event emulation across restarts at the moment.
Upvotes: 3