摘要:
switch_to_frame(“f1”) 查找framedriver.switch_to_window("windowName") driver.find_element_by_id("cp").text id_ #当前元素的ID tag_name #获取元素标签名的属性 text #获取该元素的 阅读全文
posted @ 2017-06-27 10:21
yoyo889
阅读(157)
评论(0)
推荐(0)
摘要:
1、安装python-2.7.11.amd64;2、设置环境变量path(C:\Python27;)3、在运行下面到Scripts目录下4、运行安装selenium包,命令为pip install selenium5、运行成功后,在Python 2.7.11 shell下运行import selen 阅读全文
posted @ 2017-06-27 10:02
yoyo889
阅读(124)
评论(0)
推荐(0)
浙公网安备 33010602011771号