question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Take screenshot fails on Appium 1.17.0

See original GitHub issue

I 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:closed
  • Created 3 years ago
  • Comments:11

github_iconTop GitHub Comments

1reaction
rg-softwarecommented, May 5, 2020

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.

0reactions
mykola-mokhnachcommented, May 7, 2020

Closed as third party issue

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found