Some of the teams are using IE for which we added ie capabilities including the one specified below:
cap.setCapability("ignoreZoomSetting", true);
Now if my zoom is set to 100%, I don't face any issues with execution. But in case my zoom setting is set to anything other than 100%, this capability helps opening up the browser but my test case fails because it's unable to find the required objects on the page. Is there any way, we can change the zoom level to 100% while opening up the browser or any other thoughts on how to handle this situation?
As per the Required Configuration for InternetExplorerDriver:
Additionally,
So while using
InternetExplorerDriver
andInternetExplorer
you need to configure the following:You can find a couple of relevant discussions in:
So setting these capabilities are part of best practices and incase with these configurations the browser initialization is having issue that needs detailed analysis.
However, at this point it's worth to mention that:
You can find a couple of relevant discussions in:
tl;dr
A couple of related discussions: