Ask a Question

Mobile Web test - "Unable to get screenshot from device" error

simonaferrara
Frequent Contributor

Mobile Web test - "Unable to get screenshot from device" error

Hi all, 

 

I'm trying to develop my first Mobile Web test by using the Android Studio emulator and Appium. 

But I'm blocked now because, when I click on "Show Mobile Screen", I receive the following error: "Unable to get screenshot from device.".

 

I have not understand how I can check the FLAG_SECURE within the Emulator and disable it.

Can you please help me to understand how to solve this issue?

Below a screenshot of the error and the correctly running Android Studio emulator.

 

Thanks.

Simona

 

simonaferrara_0-1692972056960.png

 

 

1 REPLY 1
rraghvani
Champion Level 3

See Possible Issues With Android Applications (Legacy) and the section FLAG_SECURE - you might be using legacy mobile test.

 

 

cancel
Showing results for 
Search instead for 
Did you mean: