java - Set zoom level to 100% in Selenium WebDriver when default is not 100 -


i'm running issue selenium webdriver in java, can't set ie browser zoom level 100% when user has different default value. ctrl + 0 not work since sets zoom default. i've tried setting zoom through javascriptexecutor, seen in other posts well. appreciated.

try ignoring zoom level together.

desiredcapabilities caps = desiredcapabilities.internetexplorer(); caps.setcapability("ignorezoomsetting", true); driver = new internetexplorerdriver(caps);

you can see others zoom issue here: similar issue


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

.htaccess - ERR_TOO_MANY_REDIRECTS htaccess -