Posts

Showing posts with the label click

Chromedriver not clicking on object coordinates while in W10 VM

Chromedriver not clicking on object coordinates while in W10 VM I have a veeeeery weird issue I can not get solved, I am using Selenium together with Java, all bindings are up to date and Chrome browsers is up to date. My main testing is done in Windows machines using mobile emulation. When I launch my test cases in a Windows 7 real machine / Windows 7 Virtual Machine or Windows 10 real machine they are working ok, but when I launch them in any Windows 10 Virtual Machine selenium starts clicking on wrong coordinates. IE. I have a button placed in (70, 612), selenium is able to get the element coordinates without issues but when using click() it is actually clicking somewhere else (it is opening a banner or an event). If I use javascript click it is working with no issues, it is just selenium click() command and only in W10 VM (I have tried a Windows Server 2016 VM as well). I have tried to low and raise mobile pixel density and always having same results. As an extra, this issue is not...