# Mobile tap and similar deprecated

**URL:** <https://discuss.appium.io/t/mobile-tap-and-similar-deprecated/2046>\
**Category:** Support\
**Created:** [December 18, 2014, 5:17pm UTC](https://discuss.appium.io/t/mobile-tap-and-similar-deprecated/2046 "2014-12-18T17:17:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Telmo\_Cardoso](https://discuss.appium.io/user_avatar/discuss.appium.io/telmo_cardoso/32/1435_2.png) [@Telmo\_Cardoso](https://discuss.appium.io/u/Telmo_Cardoso)\
**Post date:** [December 18, 2014, 5:17pm UTC](https://discuss.appium.io/t/mobile-tap-and-similar-deprecated/2046/1 "2014-12-18T17:17:47Z")

</div>

Hi all,

I read in more than one place that

```
execute_script 'mobile: tap', :x => 0.5, :y => 0.5 

```

and similar (swipe, scroll, …) will be discontinued (maybe they already are in 1.3.4?).

I never seen no problem with this because we have TouchAction.

The problem I just found it that outside ios application TouchAction stops working on some cases (just freezes), and execute\_script methods still works on those cases. So if I update appium maybe I wont be able to perform my tests anymore?

Any ideas? Discussion? Is there an alternative? Should the execute\_script be kept unless we have a solution that works 100% of the time?

Thx

---

<div class="post-metadata">

**Author:** ![brentlavelle](https://discuss.appium.io/user_avatar/discuss.appium.io/brentlavelle/32/3270_2.png) [@brentlavelle](https://discuss.appium.io/u/brentlavelle)\
**Post date:** [December 18, 2014, 6:10pm UTC](https://discuss.appium.io/t/mobile-tap-and-similar-deprecated/2046/2 "2014-12-18T18:10:17Z")

</div>

I still get my driver this way:

```
driver = Selenium::WebDriver.for(:remote, :desired_capabilities => capabilities, :url => 'http://127.0.0.1:4723/wd/hub')

```

And from what I can tell the TouchActions only work when I launch this way as TouchActions is an Appium::Driver instance method.

```
appium = Appium::Driver.new(caps: capabilities)
driver = appium.start_driver

```

I am in the process of trying to convert but I lost debugging capabilities when I went to the Appium::Driver

---

<div class="post-metadata">

**Author:** ![Telmo\_Cardoso](https://discuss.appium.io/user_avatar/discuss.appium.io/telmo_cardoso/32/1435_2.png) [@Telmo\_Cardoso](https://discuss.appium.io/u/Telmo_Cardoso)\
**Post date:** [December 18, 2014, 6:38pm UTC](https://discuss.appium.io/t/mobile-tap-and-similar-deprecated/2046/3 "2014-12-18T18:38:08Z")

</div>

> [@brentlavelle](#):
>
> appium = Appium::Driver.new(caps: capabilities)  
> driver = appium.start\_driver

I launch with the Appium::Drive also, the problem is that even that way TouchAction does **not** works outside the app we are testing, while **execute\_script** does work so it should not be deprecated, I think 😑

---

<div class="post-metadata">

**Author:** ![dmitry.actimind](https://discuss.appium.io/letter_avatar_proxy/v4/letter/d/a698b9/32.png) [@dmitry.actimind](https://discuss.appium.io/u/dmitry.actimind)\
**Post date:** [June 3, 2016, 5:33pm UTC](https://discuss.appium.io/t/mobile-tap-and-similar-deprecated/2046/4 "2016-06-03T17:33:50Z")

</div>

Any updates on this issue? Is there an alternative to ‘mobile: tap’, which could be used outside ios application?

---

<div class="post-metadata">

**Author:** ![nishant\_shah](https://discuss.appium.io/user_avatar/discuss.appium.io/nishant_shah/32/14030_2.png) [@nishant\_shah](https://discuss.appium.io/u/nishant_shah)\
**Post date:** [July 27, 2016, 12:46pm UTC](https://discuss.appium.io/t/mobile-tap-and-similar-deprecated/2046/5 "2016-07-27T12:46:01Z")

</div>

I am also finding an alternative to mobile: tap  
It was working like charm before appium 1.4.16  
Now, suddenly after upgrading appium it has stopped working. It says ‘Method has not yet been implemented’  
I need to tap at specific location on the basis of x-y co-ordinates. Any better solution?
