Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android真机,webview内元素touch失败 #889

Open
Samlin901211 opened this issue Feb 23, 2019 · 7 comments
Open

android真机,webview内元素touch失败 #889

Samlin901211 opened this issue Feb 23, 2019 · 7 comments

Comments

@Samlin901211
Copy link

失败信息: {"message":"[element.touch("tap")] Unexpected data in simpleCallback.","data":"unimplemented command: session/d68c38dd32ce15cdf7197584cee15efe/actions"}
请教下,这里是还没有实现的意思?

@macaca-bot
Copy link

This is the translated issue:


Android real machine, element touch failure in webview

Failure message: {"message":"[element.touch("tap")] Unexpected data in simpleCallback.","data":"unimplemented command: session/d68c38dd32ce15cdf7197584cee15efe/actions"}
Ask, is this what has not been realized?

@Samlin901211
Copy link
Author

元素确定可以找的到,tap事件委托在document上

@macaca-bot
Copy link

This is the translated issue comment: @Samlin901211


The element is determined to be found, and the tap event is delegated on the document.

@Samlin901211
Copy link
Author

我用selenium是可以的,点击方法:
from selenium.webdriver.common.touch_actions import TouchActions

@macaca-bot
Copy link

This is the translated issue comment: @Samlin901211


I use selenium is OK, click on the method:
From selenium.webdriver.common.touch_actions import TouchActions

@xudafeng
Copy link
Member

@Samlin901211 通过Macaca事件模拟touch就可以了吧?

https://macacajs.github.io/macaca-wd/#domEvent

@macaca-bot
Copy link

This is the translated issue comment: @xudafeng


@Samlin901211 Simulate touch with Macaca event, right?

Https://macacajs.github.io/macaca-wd/#domEvent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants