Unable to click on android popup

0

Since android ver 6 and higher, my app asks to allow navigation stuff at the very beggining of it. So I open the app and this allow-popup appears. On my usual appium test everything is fine, I can click on it, close, rerun app and continue. But when AWS runing my app it doesn't click on that popup. So here's 2 runs. First where android 5 and next is higher.

Successful run: https://us-west-2.console.aws.amazon.com/devicefarm/home?region=us-east-1#/projects/e9705ee5-4015-478f-b9f1-c62f8b73ef49/runs/331a79f6-dabb-4e7d-96ff-483e7b7be706/jobs/00000

Unsuccessful run: https://us-west-2.console.aws.amazon.com/devicefarm/home?region=us-east-1#/projects/e9705ee5-4015-478f-b9f1-c62f8b73ef49/runs/12aa1322-646b-41cb-bc90-af6038b7b558

已提問 5 年前檢視次數 249 次
1 個回答
0

For me the solution was:
add in desired capabilities - setCapability("autoGrantPermissions", true);

已回答 5 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南