appium: Updating tests to 1.9.0 and above causes "Method has not yet been implemented" in AppiumDriver.getElementRect()

The problem

For some reason it seems like appium is finding elements with AppiumDriver.getElementRect() and returning with the error Method has not yet been implemented causing all scenarios to fail. Seems like it might have something to do when we try to invoke element.location (Selenium::WebDriver::Element). Let me know what other info you might need to help.

On android it will find the elements but fails at scroll_into_view.

Environment

  • Appium version (or git revision) that exhibits the issue: 1.9.1
  • Last Appium version that did not exhibit the issue (if applicable):1.8.2-beta
  • Desktop OS/version used to run Appium: Mojave
  • Node.js version (unless using Appium.app|exe): 10.3.0
  • Mobile platform/version under test: Any iOS
  • Real device or emulator/simulator: iPhone
  • Appium CLI or Appium.app|exe: bundle exec rake <tests>

Details

Same tests run correctly on 1.8.2-beta

Link to Appium logs

https://gist.github.com/CoryWritesCode/82c33f1e4b31dfb6f33539c8b3c82785

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 62 (17 by maintainers)

Most upvoted comments

So when playing around, we were calling multiple things on the element to get it’s location then find and click it. We took all that out and replaced with element.click (<- previously unusable on ios) and it seems to have fixed the issue with that method.