ericmckean / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

Please support Advance user interactions on chrome driver Android real devices #1053

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

Chromedriver version: 2.14
Device tested on : Nexus 5 
Andoid 5.0.1
Chrome 40

13:45:16.862 INFO - Executing: [singleTap: 6] at URL: /session/3fced4c9-1eff-435
4-82c8-5cf088d7f457/touch/click)
13:45:16.862 WARN - Exception thrown
java.lang.UnsupportedOperationException: Underlying driver does not implement ad
vanced user interactions yet.
        at org.openqa.selenium.support.events.EventFiringWebDriver.getTouch(Even
tFiringWebDriver.java:311)
        at org.openqa.selenium.remote.server.handler.interactions.touch.SingleTa
pOnElement.call(SingleTapOnElement.java:41)
        at org.openqa.selenium.remote.server.handler.interactions.touch.SingleTa
pOnElement.call(SingleTapOnElement.java:1)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession
.java:170)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
13:45:16.862 WARN - Exception: Underlying driver does not implement advanced use
r interactions yet.
13:45:17.018 INFO - Executing: [delete session: 3fced4c9-1eff-4354-82c8-5cf088d7
f457] at URL: /session/3fced4c9-1eff-4354-82c8-5cf088d7f457)
13:45:18.796 INFO - Done: /session/3fced4c9-1eff-4354-82c8-5cf088d7f457

Original issue reported on code.google.com by mbdiwa...@gmail.com on 6 Mar 2015 at 10:04

GoogleCodeExporter commented 9 years ago
Can I see your test codes?  

/session/3fced4c9-1eff-435
4-82c8-5cf088d7f457/touch/click

 touch screen and click  should not together.
click is a mouse event while mobile device use swipe

Original comment by andrewch...@chromium.org on 9 Mar 2015 at 11:31

GoogleCodeExporter commented 9 years ago
the above snippet is for single touch, here is protocol, not sure if chrome
driver is adhering to any new protocol and I should be aware of it.

https://code.google.com/p/selenium/wiki/JsonWireProtocol#/session/:sessionId/tou
ch/click

Original comment by mbdiwa...@gmail.com on 10 Mar 2015 at 12:21

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Please provide me your test program - easy for me to spot the problem.

Original comment by andrewch...@chromium.org on 12 Mar 2015 at 1:18

GoogleCodeExporter commented 9 years ago

Original comment by gmanikp...@chromium.org on 2 Apr 2015 at 7:30