0

I want to use the selenium webdriver on Google Maps but when I enter the url, Google always asks me to login. I am really wondering why since I have seen many videos doing this without any problem (for example here: https://www.youtube.com/watch?v=gBrMOBEwJKE).

So, just to give you an idea the code looks like this:

driver = webdriver.Chrome(ChromeDriverManager().install())  
driver.get("https://www.google.com/maps")
element = driver.find_element_by_class_name("VfPpkd-RLmnJb")
element.click()

I already tried it also with the Firefox Broswer but same result. I always end up at this screen instead of the google maps interface.

Screenshot of Google Screen

Maybe, someone can help and explain why this is not working for me or what I can check to make it work.

I also saw this post (Python Selenium Google login bot) and I am really curious if this is not possible at all or it is just my misunderstanding.

Cheers!

0 Answers0