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")
5 days ago in Selenium by Sachin Thakur
15 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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 5 days ago by Abha
• 5,480 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
4,575 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,030 points
583 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,030 points
56 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
420 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
43 views
0 votes
1 answer

How to read a JS variable in Selenium Webdriver?

Hi Himanshu, its quite easy to access any ...READ MORE

answered May 7 in Selenium by Abha
• 5,480 points
11 views
0 votes
1 answer

How to do api log validation in selenium

Hey Gopi, API log Validation is not ...READ MORE

answered 5 days ago in Selenium by Abha
• 5,480 points
10 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.