根据id选择名字:
<input type="text" id='searchtext' />
element = wd.find_element(By.CSS_SELECTOR, '#searchtext')
element.send_keys('你好')
根据class选择元素的两种方式:
1.By.CLASS_NAME:
elements = wd.find_elements(By.CLASS_NAME, 'animal')
2.使用选择器:
elements = wd.find_elements(By.CSS_SELECTOR,<