click command in selenium webdriver does not work

前端 未结 9 1374
别跟我提以往
别跟我提以往 2020-12-13 09:08

I have just recently done an export of my selenium IDE code to selenium web driver. I have found that a lot of the commands that worked in IDE either fail to work or seleniu

9条回答
  •  时光说笑
    2020-12-13 09:25

    WebElement.click() click is found to be not working if the page is zoomed in or out.

    I had my page zoomed out to 85%.

    If you reset the page zooming in browser using (ctrl + + and ctrl + - ) to 100%, clicks will start working.

    Issue was found with chrome version 86.0.4240.111

提交回复
热议问题