# Press Keys not working on ios devices

**URL:** https://forum.robotframework.org/t/press-keys-not-working-on-ios-devices/8767
**Category:** Robot Framework
**Created:** [11 April 2025 15:11 UTC](https://forum.robotframework.org/t/press-keys-not-working-on-ios-devices/8767 "2025-04-11T15:11:37Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![grarun11](https://avatars.discourse-cdn.com/v4/letter/g/8e7dd6/32.png) [@grarun11](https://forum.robotframework.org/u/grarun11)
#### Post date: [11 April 2025 15:11 UTC](https://forum.robotframework.org/t/press-keys-not-working-on-ios-devices/8767/1 "2025-04-11T15:11:37Z")

</div>

I couldn’t able to use Press Keys to Tab or Enter on any input field. Throwing below error message

Scenario is I am entering a value in the locator and then need to TAB. Value is entering but not tabbing

The element identified by “locator xpath” is either not present or it has expired from the internal cache. Try to find it again

Anyone faced this issue? Any solution for this?

---

<div class="post-metadata">

### Author: ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)
#### Post date: [11 April 2025 16:38 UTC](https://forum.robotframework.org/t/press-keys-not-working-on-ios-devices/8767/2 "2025-04-11T16:38:52Z")

</div>

> [@grarun11](#):
>
> Value is entering but not tabbing

So it is possible to type the value at locator, but then it fails because the locator is no longer valid. This suggests for you to study what is the locator after the successful typing of the value.

---

<div class="post-metadata">

### Author: ![grarun11](https://avatars.discourse-cdn.com/v4/letter/g/8e7dd6/32.png) [@grarun11](https://forum.robotframework.org/u/grarun11)
#### Post date: [11 April 2025 16:46 UTC](https://forum.robotframework.org/t/press-keys-not-working-on-ios-devices/8767/3 "2025-04-11T16:46:45Z")

</div>

Even if I TAB without entering the value also same error message. It’s happening only ios. I verifed in devtools I don’t see any change in xpath

---

<div class="post-metadata">

### Author: ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)
#### Post date: [11 April 2025 17:40 UTC](https://forum.robotframework.org/t/press-keys-not-working-on-ios-devices/8767/4 "2025-04-11T17:40:06Z")

</div>

This is the problem of missing information, from your question. I assumed you were talking about Web testing with SeleniumLibrary, but it seems you are using AppiumLibrary whith XCUITest (iOS).

I “think” ™ that iOS automation has some problems with keys input.

---

<div class="post-metadata">

### Author: ![grarun11](https://avatars.discourse-cdn.com/v4/letter/g/8e7dd6/32.png) [@grarun11](https://forum.robotframework.org/u/grarun11)
#### Post date: [11 April 2025 17:53 UTC](https://forum.robotframework.org/t/press-keys-not-working-on-ios-devices/8767/5 "2025-04-11T17:53:58Z")

</div>

I am using only SeleniuLibrary not appium

---

<div class="post-metadata">

### Author: ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)
#### Post date: [11 April 2025 18:00 UTC](https://forum.robotframework.org/t/press-keys-not-working-on-ios-devices/8767/6 "2025-04-11T18:00:11Z")

</div>

But you are using an iPhone. What browser? Chrome? Safari?  
Does the iPhone have the **TAB** key?

---

<div class="post-metadata">

### Author: ![grarun11](https://avatars.discourse-cdn.com/v4/letter/g/8e7dd6/32.png) [@grarun11](https://forum.robotframework.org/u/grarun11)
#### Post date: [11 April 2025 18:06 UTC](https://forum.robotframework.org/t/press-keys-not-working-on-ios-devices/8767/7 "2025-04-11T18:06:36Z")

</div>

iPhone - Safari. Also tried enter key
