当写到第三句是出现错误应该怎么解决?
>> driver = webdriver.Firefox()
>>> driver.get("http://www.baidu.com")
>>> driver.find_element_by_id("kw").sends_keys("selenium")
Traceback (most recent call last):
File "<pyshell#4>", line 1, in <module>
driver.find_element_by_id("kw").sends_keys("selenium")
AttributeError: 'FirefoxWebElement' object has no attribute 'sends_keys'
has no attribute 'sends_keys'