AttributeError: 'list' object has no attribute 'click' - Selenium Webdriver

后端 未结 8 688
暗喜
暗喜 2020-11-27 22:42

I am trying to use click command in Selenium webdriver using python. But I am getting the below error. Can some one help me?

Traceback (most recent call last         


        
8条回答
  •  佛祖请我去吃肉
    2020-11-27 22:47

    if the attribute of "MISCQA Misc Tests" only has one,You can try to change elements into element in this code 'driver.find_elements_by_link_text("MISCQA Misc Tests")' Hope the problem will be fix

提交回复
热议问题