appium-flutter-driver icon indicating copy to clipboard operation
appium-flutter-driver copied to clipboard

pageBack() not working

Open anu-rachel opened this issue 1 year ago • 2 comments

What is the syntax for adding pageBack() call? Also for the device's common back button can this be used We added like await driver.elementClick(pageBack()); but devices back button click didn't happen

anu-rachel avatar Mar 13 '24 10:03 anu-rachel

I guess.... like https://github.com/search?q=repo%3Aappium%2Fappium-flutter-driver+pageBack+path%3A%2F%5Eexample%5C%2F%2F&type=code ...? If the command sent base64 command to the DartVM, possibly it is in Dart/Flutter side I assume

KazuCocoa avatar Jul 14 '24 06:07 KazuCocoa

I have the same issue, but I'm using Python. I can find pageBack(), but I can't perform any actions on it. Looking at the Appium server log, it shows {"command":"tap","finderType":"PageBack"}, but it just hangs and nothing happens.

I use Android Studio with this driver = self.cache_app._current_application() back_finder = FlutterFinder().page_back() back_element = FlutterElement(driver, back_finder) back_element.click()

cubepumkin avatar Mar 24 '25 02:03 cubepumkin