wait.until(EC.visibility_of_element_located((By.CSS_SELECTOR,
    '#mCSB_3_container table tbody tr')))
dfs = pd.read_html(driver.page_source)
driver.close()
print(dfs)
Reliably scraping stock price tables