How to click/tap on the element by using X and Y coordinate in Appium? [Up to date: java-client 6.x.x]
If don't have unique ID or any other locator of any element, then we can click on the element by using x and y coordinate. For that we have to fine X and Y coordinate first.
How to find X and Y coordinate from android phone?
If don't have unique ID or any other locator of any element, then we can click on the element by using x and y coordinate. For that we have to fine X and Y coordinate first.
How to find X and Y coordinate from android phone?
- Go to 'Settings'
- Go to 'Developer options' (Additional / Advanced settings > Developer options)
- Enable 'Show taps' and 'Pointer location' (Below the INPUT title)
- For example, we want to automate Calculator app
- Open the Calculator app and tap on the element and collect the X and Y coordinate like below image
Use above X and Y coordinate
int x = 282; int y = 808; new TouchAction((AndroidDriver)driver).tap(point(x, y)).perform();
mmorpg oyunlar
ReplyDeleteinstagram takipçi satın al
tiktok jeton hilesi
tiktok jeton hilesi
antalya saç ekimi
İnstagram Takipci
instagram takipçi satın al
metin2 pvp serverlar
instagram takipçi satın al
perde modelleri
ReplyDeletesms onay
mobil ödeme bozdurma
nft nasıl alınır
ankara evden eve nakliyat
trafik sigortası
Dedektör
kurma website
aşk kitapları
smm panel
ReplyDeleteSmm panel
Https://isilanlariblog.com
İNSTAGRAM TAKİPÇİ SATIN AL
HIRDAVAT
WWW.BEYAZESYATEKNİKSERVİSİ.COM.TR
Servis
tiktok jeton hilesi