# 切换到

webview time.sleep(2)

print(driver.contexts)

driver.switch_to.context('WEBVIEW_com.tencent.mm:tools')

 

切换了webview 定位不了的解决方法 (还没有试,记录在此)

 

 

来源: https://www.cnblogs.com/yoyoketang/p/9015976.html

 

相关文章:

  • 2022-12-23
  • 2021-11-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2022-02-07
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-04
  • 2022-12-23
相关资源
相似解决方案