Question: I am unable to locate the HTML table with class `table-light border rounded`. Do you all know why this may be?

Here is my attempt:

```
import requests
from bs4 import BeautifulSoup

url = "https://iextrading.com/trading/eligible-symbols/"
r = requests.get(url)
soup = BeautifulSoup(r.text, 'html.parser')
table = soup.find('table', class_ = 'table-light border rounded')
print(table) # returns "None"

```

Note, there is no `table` tag in the `soup` object / variable. However, when inspecting the webpage, there is indeed a `table` tag. I can't seem to locate it.

Any help or guidance is much appreciated. I am trying to create a list of Symbols.

Please see the following screenshots for additional information:

[![enter image description here](https://i.stack.imgur.com/M5JrX.png)](https://i.stack.imgur.com/KxoET.png)

[![enter image description here](https://i.stack.imgur.com/KxoET.png)](https://i.stack.imgur.com/KxoET.png)

Answer: 
It might be the case that the elements are rendered using js AFTER the page has loaded. So, you only get the page and not the javascript rendered parts.

I personally refer selenium.

You might want to look into <https://medium.com/@hoppy/how-to-test-or-scrape-javascript-rendered-websites-with-python-selenium-a-beginner-step-by-c137892216aa>
The site is loading data with a xhr request you have to inspect them from networks tab and find out from where they are loading data. 

In your case they are loading data from [Here](https://iextrading.com/api/mobile/refdata)