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
Post a Comment