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, 2019 in Selenium by Neelam
2,888 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, 2019 by Pratibha
• 3,690 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,360 points
1,307 views
+1 vote
1 answer
0 votes
3 answers

How to click the search button using Selenium web driver and Python

You can try with tag. #this code will ...READ MORE

answered Apr 10, 2019 in Selenium by Matin
9,090 views
0 votes
1 answer

Installing Selenium Webdriver with Python package

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

answered May 8, 2019 in Selenium by Anvi
• 14,090 points
2,511 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,510 points
3,181 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,890 points
2,382 views
0 votes
1 answer
0 votes
1 answer

How can I scroll a web page in Mozilla Firefox using Selenium?

Hi Rohan, steps to scroll a webpage in ...READ MORE

answered May 13, 2019 in Selenium by Pratibha
• 3,690 points
787 views