Using Python bindings, Selenium WebDriver click() is not working sometimes.

后端 未结 7 1468
旧巷少年郎
旧巷少年郎 2021-02-02 12:27

I am trying to submit an input(type= button).But I am unable to update the value. Any help is appreciated. I have attached the testcase below for your reference.

7条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-02 13:10

    If the element you click() is an url. I found that taking the href properties and using driver.get(elem.get_attribute('href')) being the cleanest.

提交回复
热议问题