I use chromedriver on Windows. When the zoom level in the browser is set to anything different from 100% element.click() may work incorrectly. Instead of clicking the specified element it clicks another element (possibly located at the position where the original element would have been at 100% zoom). In my case, I can't control zoom level on the browser. So setting it back to 100% as in the GIF below is not an option.
I knew this was a limitation for IEDriver:
The browser zoom level must be set to 100%
But the chromedriver website doesn't explicitly mention that. And I wonder is it a known limitation or a bug?
Are there any workarounds for this?
Here is a gif demonstrating the issue:
The demo page and the script are here.
UPDATE:
- Chrome version: 60.0.3112.113 (Official Build) (32-bit)
- chromedriver version: 2.32.498550 (9dec58e66c31bcc53a9ce3c7226f0c1c5810906a)