selecting element in python selenium

后端 未结 4 998
遇见更好的自我
遇见更好的自我 2021-01-23 21:27

I\'m trying to log onto a webpage with python selenium. I\'ve found an element and it is enabled, but when I try to send_keys() to it I get an error. The main thing (I think)

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-23 21:30

    I know that this problem is solved , I got stuck in similar problem and same error
    I have fixed it by just make my script sleep for 2 seconds then resume it was just Connection speed problem

    ...
    time.sleep(2)
    ...
    

    don't forget to import time module

    import time
    

    wish that help anyone in future :D

提交回复
热议问题