Take screenshot fails on Appium 1.17.0
See original GitHub issueI am sorry to bring back this old issue, but it seems it is still with us.
I have an Android 5.1 device, where taking a screenshot fails with the “Does the current view have ‘secure’ flag set” message. The screen is 1024x600, density 160.
adb shell screencap -p /sdcard/screen.png
produces a correct screenshot. Switching to UIAutomator1 also allows me to take a screenshot (but then I have failures later, so I’d prefer to use UIAutomator2).
So, is there anything I can try?..
Issue Analytics
- State:
- Created 3 years ago
- Comments:11
Top Results From Across the Web
Troubleshooting - Appium
Make sure the app is compiled for the simulator (or real device) as appropriate (e.g., in debug mode for the simulator), or you...
Read more >Capabilities for running mobile app tests on BrowserStack
Default & BrowserStack specific capabilities for App Automate, to run Appium tests with support for Local Testing, Debugging and 3000+ Mobile & Desktop ......
Read more >Appium Inspector - Perfecto Help
Appium Desktop offers an Inspector that you can use to look up or locate elements of an application. It also lets you perform...
Read more >I use katalon studio 7.3.1 and appium 1.17.0 test app can't use ...
Could you share some screenshots when the error happened, and maybe your test scripts too. That would be very helpful to find out...
Read more >appium/CHANGELOG.md - UNPKG
13, element or elements fails. 14, * Add ability to take screenshots of an element. 15, * Begin to handle Selenium W3C specification....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I see. My problem with UiAutomator1 is strange: when I am trying to tap on the screen, nothing happens! Maybe I’ll have to retire that device after all.
Closed as third party issue