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

后端 未结 7 1487
旧巷少年郎
旧巷少年郎 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

    I would try other element finders like className, cssSelector or something. xPath sometimes doesnt provide errors if the element isn't found. So first start by finding out if the element is really found by webdriver.

    You can also try to click or use the other commands two times in a row. This already solved some of such issues.

提交回复
热议问题