Python Basics

How to launch Internet Explorer IE browser in selenium python?

Assuming you have prior knowledge of Python and Selenium, following are the step by step guideline to launch Internet Explorer browser in Selenium Python.

To run internet explorer browser from selenium python, you must have to have internet explorer driver available in your system. You can download it from selenium’s official website.

Selenium Official Website: https://www.selenium.dev/downloads/

Once you have the internet explorer browser driver, you are set to launch it.

Inside python script

from selenium import webdriver

driver=webdriver.Ie(“D:\\PythonProjects\\SeleniumTutorials\\driverLaunch\\IEDriverServer.exe”)

If you run above block of code then it will launch internet explorer browser. Now scrape your desired website.