Chrome version 44 has some issue with selenium test

馋奶兔 提交于 2019-12-22 11:02:32

问题


I am using Selenium and Chrome to write a test, yesterday when my Chrome updated from 43 to 44 my test got some problems with action.sendkey("arrow.down") and etc.

I tried to uninstall Chrome and install Chrome 43 but as soon as I do it updates its self to 44 !!! I also tried chromedriver 2.16 but it did not work too.

How can I fix it?


回答1:


This is related to Keys.ENTER, Keys.TAB, Keys.SPACE are not working on Chrome 44 and Input.dispatchKeyEvents handles some keys incorrectly.

The problem was fixed. You need to give it some time and upgrade as soon as a new chromium release come out, or revert back to 43. Or, install chromium from trunk.

Update Regarding AutoUpdate

You can refer How can I disable Google Chrome auto update for that




回答2:


This issue will be solved soon when they release the new version, but now just uninstall Chrome 44 then install chrome 43 and disable its automatic uploading.




回答3:


I have seen the below issues on chrome 44:

  1. element.click does not work always, I have to wait for a couple of secs before I click. I used css selector. This worked fine on Chrome 43.
  2. driver.findElement keeps throwing NoSuchElementException although element is on the page.
  3. finding any element after page reload or new page load results in StaleElementException.
  4. WebDriver instantiation and teardown is not working as intended: it opens multiple blank instances on Chrome 44.

I am blocked majorly on Chrome. I have filed Chromium bug #515171 but I am not sure if they will look at it.



来源:https://stackoverflow.com/questions/31704503/chrome-version-44-has-some-issue-with-selenium-test

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!