title: xpath copied from inspector returns wrong results
body: <p>I'm using selenium webdriver configured with chrome and want to scrape the price from Yahoo Finance.  An example page is: <a href="https://finance.yahoo.com/quote/0001.KL" rel="nofollow noreferrer">https://finance.yahoo.com/quote/0001.KL</a></p>
  
  <p>I've opened the example page in a chrome browser and used the inspector to navigate to where the price is highlighted on the page and use the inspector's copy xpath for use in my python script. 
  <a href="https://i.stack.imgur.com/WPXdO.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WPXdO.jpg" alt="enter image description here"></a></p>
  
  <pre><code>import os
  from lxml import html
  from selenium import webdriver
  from selenium.webdriver.chrome.options import Options
  from fake_useragent import UserAgent
  ua = UserAgent()
  
  def yahoo_scrape_one(kl_stock_id):
      ''' function to scrape yahoo finance for a single KLSE stock returns dict'''        
      user_agent = ua.random
      chrome_driver = os.getcwd() + '/chromedriver'
      chrome_options = Options()
      chrome_options.add_argument('user-agent={user_agent}')
      chrome_options.add_argument('--headless')
      driver = webdriver.Chrome(chrome_options=chrome_options,
                        executable_path=chrome_driver)
      prefix = 'https://finance.yahoo.com/quote/'
      suffix = '.KL'
      url = prefix + kl_stock_id + suffix
      driver.get(url)
      tree = html.fromstring(driver.page_source)
      price = tree.xpath('//*[@id="quote-header-info"]/div[3]/div/div/span[1]/text()')
      print(price)
  
  test_stock = "0001"
  yahoo_scrape_one(test_stock)
  </code></pre>
  
  <p>the print output is </p>
  
  <pre><code>['+0.01 (+1.41%)']
  </code></pre>
  
  <p>This appears to be information from the next span (change and percent change) not the price. Any insights on this curious behaviour would be appreciated. Any suggestions on an alternate approach would also give joy. </p>