切换了webview 定位不了的解决方法 (还没有试,记录在此)
# 切换到
webview time.sleep(2)
print(driver.contexts)
driver.switch_to.context('WEBVIEW_com.tencent.mm:tools')
# 切换到
webview time.sleep(2)
print(driver.contexts)
driver.switch_to.context('WEBVIEW_com.tencent.mm:tools')