运行appium 时,报错selenium.common.exceptions.InvalidSelectorException: Message: Locator Strategy 'css selector' is not supported for this session
报错的话,很有可能没有找到对象
from selenium.webdriver.support.wait import WebDriverWait # 导入引用
WebDriverWait(driver, 20).until(lambda x: x.find_element_by_id("com.tt.tt/btn_tab")).click() 这样试试