Uh oh!
There was an error while loading. Please reload this page.
Fixed a problem with running IE on a retina screen - #194
Conversation
…low.com/questions/12034969/internetexplorerdriver-zoom-level-error) Also fixed a problem where an error after resolving a driver means the driver and browser didn't get tied to the parent process
There was a problem hiding this comment.
Probably also need to do this for chrome, but for now just adding for IE since it was easy for me to test at the time
dennisroche
commented
Feb 23, 2015
This would be great to get merged. I'm having the acceptance tests fail on my Surface Pro 3 as Windows 8 defaults the zoom to 150%. |
robdmoore
commented
Feb 23, 2015
Hmm. I wonder if we can set the zoom level with selenium
|
mwhelan
commented
Feb 23, 2015
You can use the Action class to zoom in/out with CTRL + and CTRL – . Maybe try CTRL 0 for 100%? Sent from my iPad
|
dennisroche
commented
Feb 23, 2015
mwhelan
commented
Feb 23, 2015
From that screenshot it looks like zooming out (Ctrl -) twice will get you to 100% |
robdmoore
commented
Feb 23, 2015
Is there a way to inspect the current zoom level?
|
mwhelan
commented
Feb 23, 2015
Sorry, I was on the train and hadn't read the whole thread. If it's just IE then it's a known problem and I think you just have to set IgnoreZoomLevel = true. varoptions=newInternetExplorerOptions{IntroduceInstabilityByIgnoringProtectedModeSettings=true,IgnoreZoomLevel=true};returnnewWebDriverBuilder<InternetExplorerDriver>(()=>newInternetExplorerDriver(options)).WithFileName("IEDriverServer.exe"); |
robdmoore
commented
Feb 23, 2015
That doesn't fix the problem. The zoom level would still be wrong and the screenshot will be different. On Mon, Feb 23, 2015 at 4:02 PM, Michael Whelan notifications@github.com
|

http://stackoverflowcom/questions/12034969/internetexplorerdriver-zoom-level-error
Also fixed a problem where an error after resolving a driver means the driver and browser didn't get tied to the parent process.
cc @mwhelan