0

i'm trying to scroll into an element but the the current code scrolls all the way to the bottom of the page, i have inserted the element name within the code but it doesn't seem to work.

const eatenMeal = $$('~meal1CardAddRecipeButton')

await driver.execute('mobile: scroll', { element: eatenMeal, direction: "down" });

Any advice appreciated

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.