Assistance from ChromeDriver for clicking in situations where zoom level is not at 100%

While using chromedriver on Windows, I encountered an issue where the browser's zoom level impacted the functionality of element.click(). If the zoom level was anything other than 100%, the click command would target a different element instead of the specified one. This limitation is similar to what is required for IEDriver:

The browser zoom level must be set to 100%

Although this limitation is mentioned for IEDriver, the chromedriver website does not explicitly address it. I'm curious if this behavior is a known limitation or a bug.

Are there any potential workarounds for this issue?

View a gif demonstrating the problem https://i.sstatic.net/EWHXR.gif. For the demo page and script used, click here.

UPDATE:

  • Chrome version: 60.0.3112.113 (Official Build) (32-bit)
  • chromedriver version: 2.32.498550 (9dec58e66c31bcc53a9ce3c7226f0c1c5810906a)

Answer №1

The problem mentioned is a well-documented bug and is being monitored in the chromedriver bug tracker.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

AngularJS $timeout function failing to update variable

I'm currently working on implementing a shaking animation for a button when it's clicked and the form fields above it are invalid. This is the snippet of code from the controller: if(valid){.. do valid stuff here ..} else{ console.log(this.sha ...

When utilizing Angular, be cautious of encountering an "undefined" error when attempting to add a JavaScript function

I have a good understanding of Javascript and Jquery, but I am relatively new to Angular. Although I've used jquery with angular in the past without any issues, the application I recently inherited is causing me quite a bit of trouble. Whenever I cli ...

Leetcode Algorithm for Adding Two Numbers

Recently, I attempted the following leetCode Problem: However, I encountered an issue where one of my test cases failed and I'm unsure why. Here is the scenario: You are provided with two non-empty linked lists that represent two non-negative integ ...

What could be causing my prompt for a username to not work properly as I attempt to develop a system that generates a unique code using the user's initials?

I'm currently working on a script that will be used by the secretaries in our school district to generate unique codes for new students or hires. The code will consist of an 8-digit output, a randomly generated 6-digit number, and the user's init ...

Understanding Node.JS: A Dive into Key Concepts

Forgive my lack of knowledge, but I'm really trying to grasp the differences between Node.js and Backbone.js. I believe I'm getting there, but could someone confirm this or guide me in the right direction? Node.js is a platform that can handle H ...

The JQuery carousel displays jittery movements

The issue arises when the carousel shifts or jumps during transitions, and I'm at a loss for what might be causing it. $(".timer").css("display"); $(".timer:gt(5)").css("display", "none"); function move_first() { //console.debug("animate"); $ ...

What is the process for activating an event when a window undergoes a change?

I created a window using the window.open method to display a form. Once the user submits the form, they are redirected to a page called success.html. Is there a way to trigger an event after success.html finishes loading? I attempted the following approach ...

Utilize Ajax to transfer an image from an input form to a PHP script

I am currently working on a basic HTML page that includes an image upload form. Here is the code for the form: <input type='file' id='image_uploaded' accept='image'/> <input type='submit' id="upload_image"/ ...

Tips on accessing information from a JSON file

I am facing an issue while trying to extract data from a JSON object that was passed from the servlet. The keys in my JSON object are numbered, and I need to append these numbers to the names of the keys. The structure of my response is as follows: {"sha ...

Create a spinner control on an HTML webpage with the help of JavaScript

I am attempting to create a spinner control on my webpage, and I have tried the following code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.o ...

Verifying Dates with Bootstrap DatePicker

My bootstrap datepicker has a startDate value of '1/1/1990', but when a user manually enters a date like '1/1/201' (possibly a typo for '1/1/2014'), the date field becomes blank when they move to a different section. Is there ...

In Reactjs, it is important that each child in a list is assigned a distinct "key" prop

I am currently working on fetching data in Nextjs/Reactjs after clicking a button, but I am encountering the following error in my console: Each child in a list should have a unique "key" prop Below is my current code where data is displayed wit ...

Utilize Ajax to load an Ajax-driven page

Currently, I am in the process of developing a GreaseMonkey script for the ServiceNow CMS that includes jQuery/AJAX. The main purpose of this script is to retrieve the number of incidents using the filter option provided by ServiceNow for technicians throu ...

Preventing the removal of a choice by disabling it in the selector

I have a unique selector that is designed like this: <select id="patientSelector"> <option disabled selected style='display: none;' id="select0"> New Patients to Come</option> <option id="select1"></opt ...

Updating style in Javascript can sometimes be a bit tricky

What's preventing this from working? localStorage.fontSize contains the correct value, but the initial document.body.style.fontSize = localStorage.fontSize + "pt"; doesn't update the style. <script type="text/javascript> if(!localStorage. ...

On a button click event, retrieve the value from a dynamic unordered list and display

Need help retrieving the values of dynamically created textboxes within a collapsible div and listview. Each ul contains a button, but the click event is only grabbing data from the first ul instead of the one where the button is located. The dynamic <f ...

The Socket.io Chat application is indicating a memory leak with the EventEmitter, detecting 11 listeners that have been added. To resolve this issue

My private chat application is built using socket.io, node.js, and MySQL. However, I encountered an error when trying to use socket.on('example', function(data){...});. The error code thrown is related to a possible EventEmitter memory leak with ...

Ways to verify the $window variable in ng-if or ng-show

One variable named variable1 has been declared, and I am looking to validate this variable across all pages using ng-if or ng-show. ...

Is there a way to effortlessly scroll an element when the CSS overflow property is designated as auto?

I need help with creating a testimonial section where two divs automatically scroll inside a fixed-height container. Currently, only one div is scrolling while the other remains static in my code. I have implemented JavaScript for automatic scrolling wit ...

Unable to save captured signature image during saveEvent function in React Native

I am a beginner in the world of React Native and I am facing an issue with saving a signature image. It seems like the function responsible for this task is not being called properly. I suspect there might be an issue with the onPress event handler, as whe ...