title: Selenium - How to jump from one sibling to other
body: <p>I am using Selenium-Python to Scrape the content at this link.
  <a href="http://targetstudy.com/school/62292/universal-academy/" rel="nofollow">http://targetstudy.com/school/62292/universal-academy/</a></p>
  
  <p>HTML code is like this,</p>
  
  <pre><code>&lt;tr&gt;
    &lt;td&gt;
      &lt;i class="fa fa-mobile"&gt;
        ::before
      &lt;/i&gt;
    &lt;/td&gt;
    &lt;td&gt;8349992220, 8349992221&lt;/td&gt;
   &lt;/tr&gt;
  </code></pre>
  
  <p>I am not sure how to get the mobile numbers in  using the class="fa fa-mobile"
  Could someone please help. Thanks</p>
  
  <pre><code>    from selenium import webdriver
      from selenium.webdriver.common.keys import Keys
      import time
      from selenium.webdriver.common.action_chains import ActionChains
      import lxml.html
      from selenium.common.exceptions import NoSuchElementException
  
      path_to_chromedriver = 'chromedriver.exe'
      browser = webdriver.Chrome(executable_path = path_to_chromedriver)
      browser.get('http://targetstudy.com/school/62292/universal-academy/')
      stuff = browser.page_source.encode('ascii', 'ignore')
      tree = lxml.html.fromstring(stuff)
      address1 = tree.xpath('//td/i[@class="fa fa-mobile"]/parent/following-sibling/following-sibling::text()')
  
      print address1
  </code></pre>