Click in google play doesn't work

50 views
Skip to first unread message

nir hasan

unread,
Nov 5, 2025, 7:51:03 AM (8 days ago) Nov 5
to Automate for Android
Hey there , I have used this flow a long time ago which worked , now days on the new device it doesn't. The short version of it , open Google play with the application package like so "market://details?id=" ++ "com.spotify.music" Install it and run it . My problem is with the installation. This is what I did which didn't work I created an interact block , pressed on record interaction, inspected the UI on the "install" button in Google play , then changed the action to click / long click / context click saved and ran it , It opens the play store in the right app , however no clicking/pressing on the installation button in Google play , what am I doing wrong ?

Pressing on other stuff let say the author of the app with click action do work.

Running a Poco C75 , android 14 

nir hasan

unread,
Nov 5, 2025, 7:56:17 AM (8 days ago) Nov 5
to Automate for Android


/android.widget.FrameLayout[1]/android.widget.LinearLayout[1]/android.widget.FrameLayout[1]/android.widget.FrameLayout[@android:id='@com.android.vending:id/0_resource_name_obfuscated']/android.widget.FrameLayout[@android:id='@android:id/content']/android.widget.FrameLayout[@android:id='@com.android.vending:id/0_resource_name_obfuscated']/android.widget.FrameLayout[@android:id='@com.android.vending:id/0_resource_name_obfuscated']/androidx.compose.ui.platform.ComposeView[@android:id='@com.android.vending:id/0_resource_name_obfuscated']/android.view.View[1]/android.view.View[1]/android.view.View[1]/android.view.View[1]/android.view.View[1]/android.view.View[1]/android.view.View[2]/android.view.View[1]/android.widget.Button[1]

nir hasan

unread,
Nov 5, 2025, 7:58:50 AM (8 days ago) Nov 5
to Automate for Android
1000246060.jpg

Henrik "The Developer" Lindqvist

unread,
Nov 5, 2025, 10:40:22 AM (7 days ago) Nov 5
to Automate for Android
Google may prevent clicks on the install button coming from an accessibility service as a security measure.

Henrik "The Developer" Lindqvist

unread,
Nov 5, 2025, 10:40:56 AM (7 days ago) Nov 5
to Automate for Android
Impossible to tell if that's correct or not. Inspect the layout XML instead.

nir hasan

unread,
Nov 5, 2025, 10:46:05 AM (7 days ago) Nov 5
to Automate for Android
How do i do that ? 

Henrik "The Developer" Lindqvist

unread,
Nov 5, 2025, 2:04:43 PM (7 days ago) Nov 5
to Automate for Android
Use the "Inspect user interface" button. 

Haim Ziko

unread,
Nov 6, 2025, 3:28:17 AM (7 days ago) Nov 6
to Automate for Android
Here the XML
layout_com.android.vending_20251106_102436.xml

Henrik "The Developer" Lindqvist

unread,
Nov 6, 2025, 10:55:38 AM (6 days ago) Nov 6
to Automate for Android
Try:
//android.view.View[@android:contentDescription="Install"]/..
Reply all
Reply to author
Forward
0 new messages