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

flutter:scrollIntoView always scrolls inner most ListView and scrolls indefinitely #679

Open
dlewis2017 opened this issue Apr 3, 2024 · 1 comment

Comments

@dlewis2017
Copy link

Summary

flutter:scrollIntoView always scrolls inner most ListView and scrolls indefinitely, even when specifying ListView with flutter:scrollUntil

Code

...
capabilities = XCUITestOptions().load_capabilities(capabilities)
driver = webdriver.Remote(appium_server_url, options=capabilities)
driver.execute_script("flutter:scrollIntoView", locator, {"alignment": 0})

Specs

Appium-Flutter-Finder: 0.7.0
Appium-Python-Client: 4.0.0
pytest_bdd: 7.1.2
python: 3.12.1
...
flutter doctor
[✓] Flutter (Channel stable, 3.19.5, on macOS 14.3.1 23D60 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] VS Code (version 1.87.2)
[✓] VS Code (version 1.84.0-insider)
[✓] Connected device (3 available)            
[✓] Network resources
...
device: iPad
@thuonglai
Copy link
Contributor

@dlewis2017 . You can set timeout for it

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

No branches or pull requests

2 participants