selenium------------------‘list‘ object has no attribute ‘click‘以及文本框输入文字
目录'list' object has no attribute 'click'原因解决方案:在文本框输入文字‘list’ object has no attribute ‘click’原因出现这个问题,一般是在定位的时候写成了find_elements_by_xpathfind_elements_by_xpath返回的是一个列表,所以会报错解决方案:解决方法:把find_elements_by_xpath改成find_element_by_xpath即可在文本框输入文字 number =