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

feita há 5 anos248 visualizações
1 Resposta
0

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

respondido há 5 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas