# Returned value cannot be converted to WebElement on iOS 11.3 with Appium 1.8.0

**URL:** <https://discuss.appium.io/t/returned-value-cannot-be-converted-to-webelement-on-ios-11-3-with-appium-1-8-0/21934>\
**Category:** Issues/Bugs\
**Created:** [May 3, 2018, 10:59am UTC](https://discuss.appium.io/t/returned-value-cannot-be-converted-to-webelement-on-ios-11-3-with-appium-1-8-0/21934 "2018-05-03T10:59:49Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![pushpank](https://discuss.appium.io/letter_avatar_proxy/v4/letter/p/f08c70/32.png) [@pushpank](https://discuss.appium.io/u/pushpank)\
**Post date:** [May 3, 2018, 10:59am UTC](https://discuss.appium.io/t/returned-value-cannot-be-converted-to-webelement-on-ios-11-3-with-appium-1-8-0/21934/1 "2018-05-03T10:59:49Z")

</div>

I update appium version and ios version of device, Not its shows error “Returned value cannot be converted to WebElement” but with iOS -10.2 is working .  
Application launched in iOS 11.3 but not click on an element.  
" Returned value cannot be converted to WebElement: {stacktrace=NoSuchElementError: An element could not be located on the page using the given search parameters.(…)"

Appium- 1.8.0[Appiumlogs.txt](https://discuss.appium.io/uploads/default/original/2X/9/948feb2b2a017c1f733b1fe223ec143ef0f0315c.txt) (38.2 KB)  
[PomFile.txt](https://discuss.appium.io/uploads/default/original/2X/2/2728bf91e3604c6bcccbb3e9b458388278b107a9.txt) (7.3 KB)

iOS- 11.3  
Xcode- 9.3

Please find attache pom file and full logs file.

---

<div class="post-metadata">

**Author:** ![James\_M](https://discuss.appium.io/letter_avatar_proxy/v4/letter/j/edb3f5/32.png) [@James\_M](https://discuss.appium.io/u/James_M)\
**Post date:** [May 3, 2018, 3:19pm UTC](https://discuss.appium.io/t/returned-value-cannot-be-converted-to-webelement-on-ios-11-3-with-appium-1-8-0/21934/2 "2018-05-03T15:19:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dharam1690](https://discuss.appium.io/letter_avatar_proxy/v4/letter/d/c0e974/32.png) [@dharam1690](https://discuss.appium.io/u/dharam1690)\
**Post date:** [May 9, 2018, 11:36am UTC](https://discuss.appium.io/t/returned-value-cannot-be-converted-to-webelement-on-ios-11-3-with-appium-1-8-0/21934/3 "2018-05-09T11:36:17Z")

</div>

have you got any solution. i am facing the same problem

---

<div class="post-metadata">

**Author:** ![leppo](https://discuss.appium.io/letter_avatar_proxy/v4/letter/l/5e9695/32.png) [@leppo](https://discuss.appium.io/u/leppo)\
**Post date:** [May 9, 2018, 6:13pm UTC](https://discuss.appium.io/t/returned-value-cannot-be-converted-to-webelement-on-ios-11-3-with-appium-1-8-0/21934/4 "2018-05-09T18:13:16Z")

</div>

I just upgraded to Appium Desktop 1.8 today, and I also see the same problem with my Android framework. Every test fails with the below message. Did something get deprecated (or broken) in 1.8?

Host OS- Mac 10.11.4  
Appium Server 1.7.2 (installed via Appium Desktop 1.8)  
Android Device - 7.0  
Other tools used in framework- Cucumber, TestNG

Returned value cannot be converted to WebElement: {stacktrace=NoSuchElementError: An element could not be located on the page using the given search parameters.

---

<div class="post-metadata">

**Author:** ![leppo](https://discuss.appium.io/letter_avatar_proxy/v4/letter/l/5e9695/32.png) [@leppo](https://discuss.appium.io/u/leppo)\
**Post date:** [May 9, 2018, 6:18pm UTC](https://discuss.appium.io/t/returned-value-cannot-be-converted-to-webelement-on-ios-11-3-with-appium-1-8-0/21934/5 "2018-05-09T18:18:07Z")

</div>

Sorry, that should be Appium Desktop 1.6.1 above

---

<div class="post-metadata">

**Author:** ![CrashTestDummy](https://discuss.appium.io/user_avatar/discuss.appium.io/crashtestdummy/32/3256_2.png) [@CrashTestDummy](https://discuss.appium.io/u/CrashTestDummy)\
**Post date:** [May 11, 2018, 12:00pm UTC](https://discuss.appium.io/t/returned-value-cannot-be-converted-to-webelement-on-ios-11-3-with-appium-1-8-0/21934/6 "2018-05-11T12:00:22Z")

</div>

Hello  
What version of java-clint you use? try java-client 6.0.0-BETA5

---

<div class="post-metadata">

**Author:** ![sachingauba](https://discuss.appium.io/letter_avatar_proxy/v4/letter/s/9f8e36/32.png) [@sachingauba](https://discuss.appium.io/u/sachingauba)\
**Post date:** [May 14, 2018, 4:56am UTC](https://discuss.appium.io/t/returned-value-cannot-be-converted-to-webelement-on-ios-11-3-with-appium-1-8-0/21934/7 "2018-05-14T04:56:15Z")

</div>

I faced same issue, Appium 1.8 does not support cssselctor.

Solution: Use Appium 1.7.1 OR change CSSSlector to ID/XPATH.

---

<div class="post-metadata">

**Author:** ![pushpank](https://discuss.appium.io/letter_avatar_proxy/v4/letter/p/f08c70/32.png) [@pushpank](https://discuss.appium.io/u/pushpank)\
**Post date:** [May 16, 2018, 4:43am UTC](https://discuss.appium.io/t/returned-value-cannot-be-converted-to-webelement-on-ios-11-3-with-appium-1-8-0/21934/8 "2018-05-16T04:43:19Z")

</div>

i tried with java 6.0.0-BETA5 but face same problem

---

<div class="post-metadata">

**Author:** ![pushpank](https://discuss.appium.io/letter_avatar_proxy/v4/letter/p/f08c70/32.png) [@pushpank](https://discuss.appium.io/u/pushpank)\
**Post date:** [May 21, 2018, 12:32pm UTC](https://discuss.appium.io/t/returned-value-cannot-be-converted-to-webelement-on-ios-11-3-with-appium-1-8-0/21934/9 "2018-05-21T12:32:17Z")

</div>

Any one have solution for it ?, if have pls share
