-
Notifications
You must be signed in to change notification settings - Fork 591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can Chrome be used in different zoom levels other than at 100%? - not really #573
Comments
Exception will be automating visually. At different zoom levels, as long the UI element image snapshots are done for that particular zoom level, the automation will work correctly. |
See aisingapore#573 more details
Added to readme the following note, under the To Use section, right after showing usage of chrome option to run the Yahoo sample with Chrome browser. Copying @ck81 for info, thanks for this!
|
See aisingapore/TagUI#573 for more details. Gist is Chrome should normally be used at 100% for TagUI to work correctly. In this case, visual automation is used, and 125% zoom is used to make the automation interactions easier to see on the demo.
Raising an issue to update documentation that Chrome needs to be used at 100% zoom.
Otherwise mouse clicks and interactions with web elements will not work. This is because TagUI tries to find the x, y co-ordinates of the web element and trigger a click at that location in Chrome, instead of simply calling methods such as click().
This more accurately re-creates user actions on the webpage and leads to more consistent interactions with websites (by representing a real user more accurately, the website response would be more consistent with how it responses to a real user).
However, with this method, if the Chrome browser is set to a zoom level different from 100%, the x, y co-ordinates to click on will be wrong and thus interactions will not work. Behaviour first observed in #553 while trying to replicate the issue.
The text was updated successfully, but these errors were encountered: