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
touchPerform not working #1463
Comments
We are planning to build a better API around touch events. Can't say anything yet about release dates tho. |
i figured this out, the docs are wrong.
|
Fixed docs. Thanks! |
Update touchPerform example. fixes #1463
Hi, have anyone encountered following issue with touchPerform? I'm trying to invoke following and it results in aforementioned error: driver.element(selector)
.then(elementWrapper => {
return driver.touchPerform([{
action: 'tap',
options: {
el: elementWrapper.value.ELEMENT,
x: 0,
y: 0,
count: 1
}
}]);
}); Testing against Android with:
Is the method really not implemented yet (if so, it is weird that above is stated, that it works), or any idea, what am I doing wrong, please? Thanks in advance! |
@petrmiko this method only works if you run native apps, not hybrid or web apps it should be a native app |
@christian-bromann I see, thanks - such info might be useful in docs. Is there an alternative for hybrid/web apps for touch click (tap and long touch variant)? I ask since touchClick and touchLongClick are stated in docs as deprecated so I assume they will be removed in newer versions - moreover they work only on android, not iOS. |
copied from docs:
getting
An unknown server-side error occurred while processing the command. Original error: [object Object] is not iterable!
tried :
getting :
An unknown server-side error occurred while processing the command. Original err
or: Cannot set property 'offset' of undefined
The text was updated successfully, but these errors were encountered: