What are the pre-conditions for Selenium Internet Explorer Driver or IE Driver?

There are pre-conditions to be configured before we can kick off execution in Selenium webdriver. First we have to check the Protection Mode of our IE browser.

Launch Internet Explorer → move to Tools Menu → Internet Options.

Then go to the Security tab. Check the option Select Enable Protected Mode. Also, we have to choose the Internet as the zone. We can make the level as Mediumhigh.

The other Protection zones like Local Intranet and Trusted sites (apart from Restricted sites) should also have the same configuration. Once all the configurations are done, we have to Apply and then click OK.

After above steps have been executed, the Internet Explorer browser needs to be restarted. Also, as a precondition, we should keep the browser zoom level to hundred percent.

Navigate to the View menu → Select Zoom. Choose the option of 100%. Once done, the browser needs to be restarted.

Updated on: 06-Apr-2021


Kickstart Your Career

Get certified by completing the course

Get Started