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:
This is a known issue and is tracked in the chromedriver bug tracker.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With