I have a scenario where I take a remote connection of an Android device from my Windows machine, and then I remotely turn on the device’s camera from my Windows system after gaining control of this device. (This is like controlling a screen sharing tool) Now I need to automate this test case and find out that I can see the same thing on my Windows system that the device’s camera displays on the screen of a mobile phone.
source share