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
243 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
• 27,930 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 23 in Selenium by Niroj
• 59,760 points
145 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

6 days ago in Selenium by Jordan
• 410 points
30 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,510 points
3,567 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

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

answered Aug 31 in Selenium by Sri
• 2,970 points
4,570 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,890 points
2,615 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 2 in Selenium by Sri
• 2,970 points
2,908 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
• 27,930 points
1,788 views