Skip to main content
added 1 character in body
Source Link

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: swipe'scroll', { element: eatenMeal, direction: "down" });

Any advice appreciated

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: swipe', { element: eatenMeal, direction: "down" });

Any advice appreciated

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

Added the declared variable
Source Link

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: swipe', { element: eatenMeal, direction: "down" });

Any advice appreciated

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.

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

Any advice appreciated

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: swipe', { element: eatenMeal, direction: "down" });

Any advice appreciated

Source Link

Unable to scroll into view of an element in iOS with Appium & Webdriverio

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.

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

Any advice appreciated