i am not able to perform this method in selenium driver.get("google")

0 votes

I am using method driver.get() but it is not responding

After the running script only browser open and don't navigate to the URL

from selenium import webdriver
from selenium.webdriver.common.keys import Keys
drv = webdriver.Ie(executable_path=r"C:\Program Files (x86)\Internet Explorer\iexplore.exe")
drv.get(r"https://www.google.com")
May 15 in Selenium by Sachin Thakur
24 views

1 answer to this question.

0 votes

Hi Sachin, are you getting any errors in your logs for this script? I tried to run this same code snippet and its navigating to the URL also. So please try checking your driver path (I have changed only that to my driver path). Also are you providing IE application path or IE driver path in this line:

drv = webdriver.Ie(executable_path=r"C:\Program Files (x86)\Internet Explorer\iexplore.exe")

This should be your IE driver path, which you could download from here: https://goo.gl/AtHQuv (64-bit Windows IE driver) or https://goo.gl/9Cqa4q (32-bit Windows IE driver)

answered May 15 by Abha
• 17,400 points

Related Questions In Selenium

0 votes
1 answer

Not able to open a new URL in a new tab in Selenium

There is a bug in ChromeDriver that ...READ MORE

answered May 21, 2018 in Selenium by Meci Matt
• 9,400 points
5,925 views
0 votes
1 answer
0 votes
1 answer

Selenium ChromeDriver issue - Want to run it in background, but not as headless browser

This is a flaw with ChromeDriver. Tried ...READ MORE

answered Mar 26, 2018 in Selenium by nsv999
• 5,050 points
773 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,050 points
280 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
641 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
269 views
0 votes
1 answer