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

Scroll to non visible element in Android native app #601

Open
psociety opened this issue Aug 29, 2019 · 0 comments
Open

Scroll to non visible element in Android native app #601

psociety opened this issue Aug 29, 2019 · 0 comments

Comments

@psociety
Copy link

I'm testing the signup form of my app. The form is long enough to require scroll, therebefore Signup button is not visible.

I tried to:

(await driver.elementById('signup')).click();

But crashes because its not on screen.

Then i tried things like:

await driver.moveTo(await driver.elementById('signup')); // seen in https://github.com/admc/wd/blob/master/doc/api.md
(await driver.elementById('signup')).moveTo(); // seen in https://github.com/admc/wd/blob/master/doc/api.md
await driver.scroll(10, 100); // seen in http://appium.io/docs/en/commands/interactions/touch/scroll/

But non of them are working. Is there any method to scroll in android native app?

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

1 participant