Hello Neelam, to navigate to a web URL using Internet Explorer in Python Selenium, you can use following lines of code:
1. First register your IE driver to connect with IE browser:
drv = webdriver.Ie(r"C:\Users\Abha_Rathour\Downloads\ExtractedFiles\IEDriverServer_x64_3.14.0\IEDriverServer.exe")
2. Next, add an implicitly_wait(time_in_seconds) to let the browser wait for some time. Its an optional step, but highly recommened as this allows web pages to completely:
drv.implicitly_wait(2)
3. Again, this step is option and is used only to open your browser window in fullscreen:
drv.maximize_window()
4. Finally, use get() method to navigate to the web URL:
drv.get(r"https://www.google.com")