ChromeDriver support for click when scaling is not 100%

I am using chromedriver on windows. When the zoom level in the browser is set to any value other than 100% element.click () may not work correctly. Instead of clicking on the specified element, it clicks on another element (possibly located in the place where the original element would have 100% scaling). In my case, I cannot control the zoom level in the browser. Therefore, 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 should be set to 100%

But the chromatograph website does not explicitly mention this. And I wonder is this a known limitation or bug?

Are there any workarounds for this?

Here is the gif demonstrating the problem: GIF showing a click problem Demo page and script here .

UPDATE:

  • Chrome version: 60.0.3112.113 (official build) (32-bit)
  • chromedriver version: 2.32.498550 (9dec58e66c31bcc53a9ce3c7226f0c1c5810906a)
+7
javascript selenium webdriver selenium-chromedriver
source share
1 answer

This is a known issue and is tracked in the chrome rib error tracker.

+2
source share

All Articles