I am getting the same problem on Android on our CI builds using Appium 1.8.0
Looking at the screenshot when the error occurred the view is mid transition.
I will attempt to add a wait in to ensure the view is fully loaded and stopped it’s transition.
However I do not think this should be a workaround as my implicitlywait is set at 30 seconds and the failure happens in <1 second.
org.openqa.selenium.WebDriverException: Returned value cannot be converted to WebElement: {stacktrace=NoSuchElementError: An element could not be located on the page using the given search parameters.
at AndroidUiautomator2Driver.callee$0$0$ (/usr/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:69:13)
at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at , error=no such element, message=An element could not be located on the page using the given search parameters.}
Build info: version: ‘3.6.0’, revision: ‘6fbf3ec767’, time: '2017-09-27T15:28:36.4Z’
System info: host: ‘t20180503141104-br-cont-prod-c2-x–host-ondemand-android-085’, ip: ‘10.240.0.17’, os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘4.4.0-57-generic’, java.version: '1.8.0_162’
Driver info: driver.version: AppiumDriver