本文由小编根据慕课网视频亲自整理,转载请注明出处和作者。

1.常见API

【selenium】- webdriver常见api-LMLPHP

【selenium】- webdriver常见api-LMLPHP

【selenium】- webdriver常见api-LMLPHP

2.打开网址

【selenium】- webdriver常见api-LMLPHP

3.操作浏览器

【selenium】- webdriver常见api-LMLPHP

【selenium】- webdriver常见api-LMLPHP

quit()没有完全关闭进程,依旧占用资源。

【selenium】- webdriver常见api-LMLPHP

4.输入框操作

【selenium】- webdriver常见api-LMLPHP

5.选择框操作

【selenium】- webdriver常见api-LMLPHP

6.特殊窗口操作

【selenium】- webdriver常见api-LMLPHP

7.JS操作

【selenium】- webdriver常见api-LMLPHP

8.页面元素处理

【selenium】- webdriver常见api-LMLPHP

获取对象状态:

【selenium】- webdriver常见api-LMLPHP

9.特殊操作

【selenium】- webdriver常见api-LMLPHP

【selenium】- webdriver常见api-LMLPHP

05-11 22:00