Selenium google chrome not loading until pressing refresh button python

0 votes

I have a problem which I don't understand. This is what I have:

    options = webdriver.ChromeOptions()
    driver = webdriver.Chrome(r'C:\Users\x\OneDrive\Desktop\chromedriver.exe', options=options)

The problem is when I add an extension google chrome is not refreshing. What I mean is when I run what I have written, it will stay in:://data and when I press the refresh button on the top left corner it is going to my actual page. This is where I don't understand it. If I run my program without the option add extension it will go directly to the page that I want. Also, a guy tried to help me and he said that it isn't an error in the code. I have tried many different websites but it isn't working. I have the same version of chromedriver and google chrome.

May 17 in Python by A
• 150 points

edited May 17 by Omkar 37 views
Can you please share exactly what error is displayed in your console and also if you could share your complete code? It would help in better understanding of your problem.

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Python

0 votes
1 answer

Python pygame error : Failed loading libpng.dylib: dlopen(libpng.dylib, 2): image not found

Try installing libpng You can do it with ...READ MORE

answered May 31 in Python by SDeb
• 12,120 points
0 votes
3 answers
0 votes
1 answer

Python 'If not' syntax

Yes, if bar is not None is ...READ MORE

answered Aug 1, 2018 in Python by Priyaj
• 56,160 points
0 votes
1 answer

'python' is not recognized as an internal or external command

I have met same issue when I ...READ MORE

answered Aug 24, 2018 in Python by Priyaj
• 56,160 points
0 votes
1 answer

Python `if x is not None` or `if not x is None`?

There's no performance difference, as they compile ...READ MORE

answered Sep 3, 2018 in Python by Priyaj
• 56,160 points
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6 in Python by Neha
• 330 points

edited Jul 8 by Kalgi 121 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