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
5,777 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 16, 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
2,908 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
16,271 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,150 points
15,867 views
0 votes
2 answers

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,500 points
13,735 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
9,172 views
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,910 points
7,250 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 14, 2019 in Selenium by Pratibha
• 3,690 points
3,216 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP