解决python中selen模块中'list' object has no attribute 'send_keys'报错

程序在执行如下代码的时候报错'list' object has no attribute 'send_keys'

解决:

把find_elements_by_id方法改成find_element_by_id

参考:

https://stackoverflow.com/questions/29957373/selenium-python-send-key-error-list-object-has-no-attribute

 

转载于:https://www.cnblogs.com/xifengmo/p/10989580.html

你可能感兴趣的:(python)