How to navigate to a web URL using IE driver in Python Selenium?

0 votes
How to navigate to a web URL using IE driver in Selenium Webdriver?
May 15 in Selenium by Neelam
410 views

1 answer to this question.

0 votes

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")
answered May 15 by Pratibha
• 3,680 points

Related Questions In Selenium

0 votes
1 answer

How to upload a resume to a website using selenium in python?

Use this code, this will help you: from ...READ MORE

answered Apr 20, 2018 in Selenium by Vardy
• 2,270 points
1,086 views
+1 vote
1 answer
0 votes
3 answers
0 votes
1 answer

Installing Selenium Webdriver with Python package

Hey Hemant, for installing Selenium Webdriver with ...READ MORE

answered May 8 in Selenium by Anvi
• 13,960 points
221 views
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,110 points
915 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,130 points
1,102 views
0 votes
1 answer
0 votes
1 answer