-
Notifications
You must be signed in to change notification settings - Fork 555
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
Call to 'swipe' failed move target out of bounds (Session info: chrome=113.0.5672.77) #867
Comments
Do you have the full appium log? The error message seems coming from chromedriver, then potentially only Google can improve it.
|
Here are the logs:
|
It seems like the move target is out of bounds. Have you tried making sure it's not? |
I even tried swiping manually in the inspector even it is throwing the same error |
The error itself came from the chromedriver, so cannot do anything for the chromedriver itself as Appium.
Alternatively, you might be able to do the action in the NATIVE_APP context. You might need to coordinate the coordination, but the NATIVE_APP context could avoid the chromedriver (WebView context)'s error |
Yes I tried the native context and it worked fine. But changing to web context resulting in the above specified error. |
So @KazuCocoa and @jlipps , is scrolling the only mechanism to mimic swipe action in web context |
Gotcha, then, only Google can fix it |
This w3c action achieves swipe etc to achieve gesture. So the question is yes, we should send the actions endpoint to the chromedriver. Or alternatively you may be able to send JavaScript to the WebView context |
The problem
Note: Swiping is major action for a mobile app testing. And this needs to be fixed with high priority
Unable to swipe in Appium python android.
Getting error: Call to 'swipe' failed
move target out of bounds (Session info: chrome=113.0.5672.77)
used desired caps = {
"platformName": "android",
"appium:udid": "96324991560008D",
"browserName": "Chrome",
"appium:automationName": "UiAutomator2"
}
The swipe action is not working even in the inspector as well as mobile automation
automation error:
Below is the proof:
inspector:
mobile_swiping_not_working.webm
automation:
https://github.com/appium/python-client/assets/45133346/6772091c-1f01-42e4-939c-ccfdedadc89d
Dependencies:
python-client: latest
selenium: latest
pytest: latest
Environment
Details
If necessary, describe the problem you have been experiencing in more detail.
Link to Appium Logs
Create a GIST which is a paste of your full Appium logs, and link them here.
Code To reproduce issue
automation code:
The text was updated successfully, but these errors were encountered: