第五章 WebDriver常用方法

 

WebDriver常用方法

  • get(url): 访问url

  • refresh():刷新页面

  • clear(): 清除文本。

  • send_keys (value): 模拟按键输入。

  • click(): 单击元素。