web使用

web

  send_keys("Airtest Project", Keys.ENTER)//输入后执行某个键盘事件
  不同标签页切换
    Airtest-Selenium中用driver.switch_to_previous_tab()和driver.switch_to_new_tab()两个接口来处理不同标签页之间的逻辑。
    driver.switch_to_new_tab()接在当新的标签页生成的时候,会跳转到最新的标签页。
    driver.switch_to_latest_window()
    driver.switch_to_last_window()

原文地址:https://www.cnblogs.com/xuanjian-91/p/10348834.html