[Resolved] Kill application in real devices. App is already running

@Telmo_Cardoso

I always get the co-ordinates of Assistive touch as -2 and 5

a=driver.find_element(:xpath,“//*[@name=‘Double-tap to open’]”)
x=a.location.x
y=a.location.y
execute_script ‘mobile: tap’, :tapCount => 1, :touchCount => 1, :duration => 0.9, :x => x, :y => y

the above code does not work … can you please your code?