My current challenge involves using Appium to automate a framework I've created. After inspecting an element with Appium inspector, I'm attempting to click on the element within the DOM, even though it's not visible on the device screen. I tried using waitForElementByName
, and while the element is successfully identified (as shown in the logs), the automation process fails when trying to execute the .click()
action.
Interestingly, if I manually scroll the device screen to bring the element into view, the .click()
command works flawlessly.
I have already experimented with solutions like wd.asserters.isDisplayed
, but unfortunately, none of them seem to resolve the issue. If anyone has ideas or suggestions for a potential solution to this problem, please do share!