Chrome version 44 has some issue with selenium tes

2019-05-18 17:00发布

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?

3条回答
Explosion°爆炸
2楼-- · 2019-05-18 17:46

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

查看更多
Bombasti
3楼-- · 2019-05-18 18:00

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.

查看更多
Bombasti
4楼-- · 2019-05-18 18:02

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.

查看更多
登录 后发表回答