title: Scraping using selenium
body: <p>Hi I am trying to scrape this website I originally was using Bs4 and that was fine to get certain elements. Sector, name etc. But I am not able to use it to get the financial data. Below I have copied some of the page_source the "-" should be in this case 0.0663. I believe I am trying to scrape javascript and I have looked around and none of the solutions I have seen have worked for me. I was wondering if someone could help me crack this. </p>
  
  <p>Although I will be grateful if someone can post some working code I would also really appreciate if you can point me in the right direction as well to understand what to look for in the html which shows me what I need to do and how to get it kinda thing. </p>
  
  <p>URL: <a href="https://www.tradingview.com/symbols/LSE-TSCO/" rel="nofollow noreferrer">https://www.tradingview.com/symbols/LSE-TSCO/</a></p>
  
  <p>HTML:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;span class="tv-widget-fundamentals__label apply-overflow-tooltip"&gt;
      Return on Equity (TTM)
  &lt;/span&gt;
  &lt;span class="tv-widget-fundamentals__value apply-overflow-tooltip"&gt;
      —
  &lt;/span&gt;
  </code></pre>
  
  <p>Python Code:</p>
  
  <pre class="lang-py prettyprint-override"><code>url = "https://www.tradingview.com/symbols/LSE-TSCO/"
  options = webdriver.ChromeOptions()
  options.add_argument('headless')
  driver = webdriver.Chrome(ChromeDriverManager().install())
  driver.get(url)
  html = driver.page_source
  </code></pre>