摘要:
例如:https://www.baidu.com/ 设置-搜索设置:每页显示10条设置为每页显示20条的方法: 1.driver.find_element_by_xpath(".//*[@id='nr']/option[2]").click()2.Select(driver.find_element 阅读全文
posted @ 2017-11-29 17:57
JodieWang
阅读(185)
评论(0)
推荐(0)
摘要:
1.最近有点时间一直看元素定位的问题: 发现163邮箱登录账号密码: id=auto-id-1511926360798,是动态的,xpath定位也无效: #-*-coding:utf-8-*- from selenium import webdriverimport time options = w 阅读全文
posted @ 2017-11-29 14:34
JodieWang
阅读(1366)
评论(0)
推荐(0)

浙公网安备 33010602011771号