I'm trying to scrape this page (for example): https://super.walmart.com.mx/papel-higienico/papel-higienico-petalo-rendimax-12-rollos-con-320-hojas-dobles/00750194345845
... to get product price. With requests-html I can get dynamic content in other pages, but it is not working on wallmart. I know I can do this with selenium, but I'm trying to understand why it is not working with requests-html, and (if possible) how can I do it.
This is my current code:
import requests_html as rh
session = rh.HTMLSession()
r = session.get("https://super.walmart.com.mx/papel-higienico/papel-higienico-petalo-rendimax-12-rollos-con-320-hojas-dobles/00750194345845")
r.html.render()
r.html.find('.main-content_rightContainer__3_cSi',first=True).text