Hey I am a beginner and im trying to get reviews from a site, I have this code:
from selenium import webdriver
chrome_path = r"C:\Users\AV\AppData\Local\Programs\Python\Python39\Scripts\chromedriver.exe"
driver = webdriver.Chrome(chrome_path)
driver.get("https://oldnavy.gapcanada.ca/browse/product.do?pid=676294003&cid=1178957&pcid=1031103&vid=1&grid=pds_5_331_1#pdp-page-content")
review = driver.find_elements_by_class_name("pr-rd-description-text")
for post in review:
print(post.text)
but it doesn't print anything
this is the HTML source:
<p class="pr-rd-description-text">Like the color and price</p>
please tell me where im wrong?
