python自动化测试错误代码解释,来人救一下啊

实在是不知道为啥动不了,求解释

错误如下:Traceback (most recent call last):
  File "D:\PycharmProjects\pythonProject\venv\pythonTes.py", line 5, in
    driver.find_element_by_id('kw').send.get('guge')
AttributeError: 'NoneType' object has no attribute 'send'

附上代码:

from selenium import webdriver

driver = webdriver.Chrome()
driver.get('http://www.baidu.com')
driver.find_element_by_id('kw').send.get('hello word')

你可能感兴趣的:(开发语言,python)