Adding working tap method for webView context#119
Adding working tap method for webView context#119vs-dev-bg wants to merge 4 commits intoappium:masterappium/java-client:masterfrom
Conversation
Add tapElement method with correct JSON Wire Protocol
Add TOUCH_SINGLE_TAP command with correct value according to JSON Wire Protocol.
|
Hello, @vs-dev-bg! |
|
I think it would be better to rename this method to public void tap(WebElement element) |
|
Okay I'll rename method to tap and also I'll add method to On Wed, Oct 8, 2014 at 2:01 PM, Sergey Tikhomirov notifications@github.com
|
|
👍 |
|
This method is already implemented as part of the selenium RemoteWebDriver and I don't want to re-implement it here unless we have to. Couldn't you use an @Augment annotation to add SwipableWebBrowser or RemoteTouchScreen? Then use this method? |
|
Okay you're right. Ignore this pull request ;) |
|
I wish it could be more convenient or easy though ;) The selenium WebDriver java client is pretty confusing and clunky. Would you consider working on a flatter and simplified version? I've gotten feedback that the java-client isn't as nice as some people hope. |
New working tapmethod according to JSON Wire Protocol. Because current version of chromedriver is not able to process 'touch/perform' url. Ohter tap methods don't work properly in webview context (hybrid app), click() method of web element also doesn't work. Because of this new tap method is extremely needed.