title: Getting complete URL for Selenium Automation using Python driver.current_url statement
body: <p>I am trying to get the complete URL from address bar of chrome. I am using this code. </p>
  
  <pre><code>import re
  from selenium import webdriver
  
  driver = webdriver.Chrome(r'C:\Users\XYZ\Desktop\ABC\chromedriver_win32\chromedriver.exe')  # Optional argument, if not specified will search path.
  driver.get('https://www.google.com/maps');
  #time.sleep(1) # Let the user actually see something!
  search_box = driver.find_element_by_name('q')
  search_box.send_keys('India Gate')
  driver.find_element_by_css_selector("button[id='searchbox-searchbutton']").click()
  currentURL = driver.current_url
  print(currentURL)
  time.sleep(5)
  driver.quit()
  </code></pre>
  
  <p>Instead of getting a complete URL in the address bar I am only getting <code>https://google.com/maps</code></p>
  
  <p>I need a URL like this <code>https://www.google.com/maps/place/India+Gate/@28.6337379,77.2060128,15z/data=!4m5!3m4!1s0x390ce2daa9eb4d0b:0x717971125923e5d!8m2!3d28.612912!4d77.2295097</code></p>
  
  <p>What am I missing? Please help. It's my first time using Selenium.</p>