Ask for help: python-appium, restarts APP every time it runs

APP restarts every time a command is run, so it takes a long time to run

appium-v1.4.16.1

related codes

desired_caps = {}
desired_caps["platformName"] = "Android"
desired_caps["platformVersion"] = "6.0"
desired_caps["deviceName"] = "Android Emulator"
desired_caps["appPackage"] = "com.eg.android.AlipayGphone"
desired_caps["appActivity"] = "com.eg.android.AlipayGphone.AlipayLogin"
desired_caps["noReset"] = True
-sharpdesired_caps["autoLaunch"] = False 
driver = webdriver.Remote("http://localhost:4723/wd/hub", desired_caps)
print("1")

driver.find_element_by_id("com.alipay.android.phone.openplatform:id/collect_layout").click()

is there a way to find the control to execute the click command directly when app is already running?

Mar.29,2021

enable noReset , not no reset , see http://appium.io/docs/en/writ.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b31979-2b523.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b31979-2b523.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?