Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TakeScreenshots sometimes throwing DeviceAgentException #16

Open
trevoriancox opened this issue Aug 15, 2019 · 0 comments
Open

TakeScreenshots sometimes throwing DeviceAgentException #16

trevoriancox opened this issue Aug 15, 2019 · 0 comments

Comments

@trevoriancox
Copy link

Sometimes I am able to get all 4 screenshots that I've configured. Other times, just 0, 1 or 2, then Xnapshot.Screenshots.TakeScreenshots () throws:

Exception: Xamarin.UITest.XDB.Exceptions.DeviceAgentException
Unable to contact DeviceAgent

Maybe a timeout that can be extended?

Feels like it's a bit more reliable if I close the simulator before starting. I'm running from Studio on macOS with Debug configuration (less luck so far with Release or the command line).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant