Open latobibor opened 7 years ago
If it works on Firefox and not on Chrome, this issue should be filed against the chromedriver project.
@cnishina Hi Craig, I have opened an issue: https://bugs.chromium.org/p/chromedriver/issues/detail?id=1634 . Thanks for the tip.
Bug report
I created a bug based on @csanthoshi 's original comment on this issue: https://github.com/angular/protractor/issues/159#issuecomment-242356184
In short mouse hover event won't happen in Chrome if you left the mouse pointer over the browser area (while it works on FireFox). Even if Chrome is not the active window of your OS. Without a fix testing all hover-based functionality (like a hover activated dropdown menu) is basically luck-based: either someone left the mouse pointer over the browser in one of the test-automation virtual machines or not.
My test setup to reproduce the issue:
7.0.0
4.0.11
1.5.x
Chrome (only)
browser.actions().mouseMove(yourElement.getWebElement()).perform();