标签:script line rip find data 设置 nts exe class
#找到这个元素 ele = driver.find_element_by_xpath(‘//a[text()="_百度百科"]‘) #利用js将为元素设置焦点 driver.execute_script("arguments[0].focus();", ele)
#找到这个元素 ele = driver.find_element_by_xpath(‘//a[text()="_百度百科"]‘) #利用js将为元素设置焦点 driver.execute_script("arguments[0].blur();", ele)
标签:script line rip find data 设置 nts exe class
原文地址:https://www.cnblogs.com/lvchengda/p/12627087.html