title: (Selenium, Python) Having a trouble locating element via relative path
body: <p>So I have been looping through the list of address,name,phone and been successful at extracting each row from the list.</p>
  
  <p>However, from each row, I want to extract address, name, and phone using relative XPATH but I have been failing. How do I use the relative path to extract what I want? The relative path is used from each row's point of view. Below is my code.</p>
  
  <pre><code>import time
  import requests
  import csv
  import re
  from selenium.webdriver.common.by   import By
  from selenium.webdriver             import ActionChains
  from bs4        import BeautifulSoup
  from selenium   import webdriver
  
  driver = webdriver.Chrome()
  driver.implicitly_wait(5)
  url1 = 'http://subway.co.kr/storeSearch?page='
  url2 = '&amp;rgn1Nm=&amp;rgn2Nm=#storeList'
  
  addresses = []
  names = []
  phones = []
  
  for i in range(1, 42):
      driver.get(url1 + str(i) + url2)
      lst = driver.find_elements_by_xpath('/html/body/div/div[2]/div[2]/div[3]/div/div/div[1]/table/tbody/tr')
      for row in lst:
  ####### THIS IS WHERE IT NEEDS AN ANSWER ################################################
          address = row.find_element(By.XPATH, ".//td[2]/div/a")
          addresses.append(address.text)
          name = row.find_element(By.XPATH, ".//td[1]/a")
          names.append(name.text)
          phones.append(row.find_element_by_xpath("//div[@class='tel']").text)
  ######################################################################################
  stores = [{
      'address'   : props[0],
      'name'      : props[1],
      'phone'     : props[2]
  } for props in zip(addresses, names, phones)]
  
  with open('stores.csv', 'w') as csvfile:
      csvout = csv.DictWriter(csvfile, ['address', 'name', 'phone'])
      csvout.writeheader()
      csvout.writerows(stores)
  </code></pre>