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, 2019 in Selenium by Sachin Thakur
1,824 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, 2019 by Abha
• 28,140 points

Related Questions In Selenium

0 votes
1 answer

I am not able to generate extent report with screenshot in selenium cucumber java .. Please help me out

Hello @kanikahans, You need to define Extent Report ...READ MORE

answered Aug 24, 2020 in Selenium by Niroj
• 82,840 points
8,502 views
+1 vote
2 answers
0 votes
1 answer
+1 vote
0 answers

Hello i have written below code to verify title using POM method but i am not able to print please help me

public static void verifytitle() { String Createanewaccounttttt=driver.getTitle(); System.out.println("Title is"+Createanewaccounttttt); String excepted_title="Create ...READ MORE

Sep 24, 2020 in Selenium by Jordan
• 410 points
797 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,776 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,190 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,267 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 3, 2020 in Selenium by Sri
• 3,190 points
7,903 views
0 votes
1 answer

Not able to upload a file in Selenium Webdriver using python Scripting

Hey Srinivas, you can checkout this code ...READ MORE

answered Sep 10, 2019 in Selenium by Abha
• 28,140 points
4,213 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