2024-12-31元素定位(调试环境:appium-server+inspector+模拟器)fromappiumimportwebdriverfromappium.options.androidimportUiAutomator2Optionsfromappium.webdriver.common.appiumbyimportAppiumByasBy创建一个UiAutomator2Options对象options=UiAutomator2Options()options.platform_name="Android"options