title: CSV file link not getting read by .get in Selenium
body: <p>I am writing a webscraper that is supposed to scrape all the links that are in a .csv file. When I try to use the .get from Selenium to retrieve the link from the CSV file it doesn't get parsed to the .get and the webpage never gets loaded in the browser. This is my code that I'm having problem with :</p>
  <pre><code>from selenium import webdriver
  from selenium.webdriver.common.by import By
  from selenium.webdriver.support.ui import WebDriverWait
  from selenium.webdriver.support import expected_conditions as ec
  from selenium.webdriver.chrome.options import Options
  import csv
  
  with open('links.csv') as read:
      reader = csv.reader(read)
      link_list = list(reader)
      with open('ScrapedContent.csv', 'w+', newline='') as write:
          writer = csv.writer(write)
          options = Options()
          options.add_argument('--no-sandbox')
          path = &quot;/home/Projects/SRealityContentScraper/chromedriver&quot;
          driver = webdriver.Chrome(path)
          wait = WebDriverWait(driver, 10)
          i = 1
          while i &lt; len(link_list):
              try:
                  driver.get(link_list[i])
              except Exception:
                  continue
              information_list = wait.until(ec.presence_of_all_elements_located((By.CLASS_NAME, &quot;ng-binding&quot;)))
              information_list = wait.until(ec.presence_of_element_located((By.CSS_SELECTOR, &quot;h1.page-title span.text.ng-binding&quot;)))
              title = driver.find_element_by_css_selector(&quot;h1.page-title span.text.ng-binding&quot;)
              information_list = wait.until(ec.presence_of_element_located((By.CSS_SELECTOR, &quot;a.switcher.ng-binding.ng-scope span.ng-binding.ng-scope&quot;)))
              offers = driver.find_element_by_css_selector(&quot;a.switcher.ng-binding.ng-scope span.ng-binding.ng-scope&quot;)
              information_list = wait.until(ec.presence_of_element_located((By.CSS_SELECTOR, &quot;tr.c-aginfo__table__row td.ng-binding&quot;)))
              addresses = driver.find_element_by_css_selector(&quot;tr.c-aginfo__table__row td.ng-binding&quot;)
              number_wait = wait.until(ec.presence_of_element_located((By.CSS_SELECTOR, &quot;button.value.link.ng-binding.ng-scope&quot;)))
              phone_number = driver.find_element_by_css_selector(&quot;button.value.link.ng-binding.ng-scope&quot;)
              phone_number.click()
              phone_number = driver.find_element_by_css_selector(&quot;span.phone.ng-binding&quot;)
              mail_wait = wait.until(ec.presence_of_element_located((By.CSS_SELECTOR, &quot;button.value.link.ng-binding&quot;)))
              email = driver.find_element_by_css_selector(&quot;button.value.link.ng-binding&quot;)
              email.click()
              email = driver.find_element_by_css_selector(&quot;a.value.link.ng-binding&quot;)
              print(title.text, &quot; &quot;, offers.text, &quot; &quot;, addresses.text, &quot; &quot;, phone_number.text, &quot; &quot;, email.text)
              writer.writerow([title.text, offers.text, addresses.text, phone_number.text, email.text])
              i+=1
  
  
          driver.quit()
  </code></pre>
  <p>The first webpage from the links.csv file is [https://www.sreality.cz/adresar/mm-reality-praha-nove-mesto/1019]. The scraper is supposed to get this link in the .get request but it never does so and gets stuck on &quot;data:,&quot; in the url bar. There is about 10 links so far that are present in the CSV file. My question is why doesn't the URL get parsed to the .get request? What am I doing wrong? I have been trying to figure this out for hours now and can't seem to understand why would this happen...</p>