You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the most recent available driver/plugin and server versions
Is the component officially supported by the Appium team?
I have verified the component repository is present under the Appium organization in GitHub
Is there an existing issue for this?
I have searched the existing issues
Current Behavior
When I execute driver.swipe with duration=5, it should swipe slowly for 5 seconds, but it ended immediately, didn't last 5 seconds slowly.
Expected Behavior
Swipe slowly in 5 seconds.
Minimal Reproducible Example
from appium import webdriver
import time
caps = {
'platformName': 'IOS',
'app': 'xxx',
'udid': 'xxx',
'automationName': 'XCUITest',
'noReset': True
}
url = 'http://localhost:4723'
driver = webdriver.Remote('http://localhost:4723', caps)
start = time.time()
driver.swipe(36, 320, 36, 320 - 41, duration=5)
print(time.time() - start) # << 5s
### Environment
- Operating system: macOS Ventura 13.3.1 (a)
- Appium server version (output of `appium --version`): 2.1.3
- Appium driver(s) and their version(s): [email protected] [installed (npm)]
- Appium plugin(s) and their version(s):
- Node.js version (output of `node --version`): v18.16.0
- `npm` version (output of `npm --version`): 9.5.1
- Last component(s) version which did _not_ exhibit the problem:
- Platform and version under test: iPhone 11 / iOS 16.3.1
- Real device or emulator/simulator: Real device
### Link to Appium Logs
_No response_
### Further Information
_No response_
The text was updated successfully, but these errors were encountered:
Do I have the most recent component updates?
Is the component officially supported by the Appium team?
Is there an existing issue for this?
Current Behavior
When I execute
driver.swipe
withduration=5
, it should swipe slowly for 5 seconds, but it ended immediately, didn't last 5 seconds slowly.Expected Behavior
Swipe slowly in 5 seconds.
Minimal Reproducible Example
The text was updated successfully, but these errors were encountered: