Info about the setup:
1. This is a real device
2. Appium is running on Windows
3. The device is already running the desired application
4. the ONLY reason our test is using Appium is we need to know the current display.
(we will not use any other feature other than current_url - this is all we care about)
When Appium connects to our product -it refreshes the display with the attached image white screen, light lines in the back ground, with a blue circle and a blue dot in the middle).
I need this 'refresh display' to stop.
Our product is waiting for a response that should come from the remote -but this display is triggering our product to react which is causing our product to shut down.
How do I disable this refresh?
Here are the capabilities in use:
DESIRED_CAPABILITIES = {
'appPackage': APPPACKAGE,
'autoLaunch': False,
'androidUseRunningApp': APPPACKAGE, # so it doesn't try to start android
#'appWaitActivity': 'SplashActivity',
'appWaitPackage': APPPACKAGE,
'deviceName': 'Android',
'appActivity': '.MainActivity',
'platformVersion': '4.4',
'platformName': 'Android', # Note use of Selenoid does NOT work with a Real system!!
'automationName': 'Appium',
'fullReset': False,
'noReset': True,
'newCommandTimeout': 120, # should prevent Appium from ever timing out
}