I have the following code and HTML structure (I’m not an expert on this).
I’m trying to scrape the 96.00C element at the end of the HTML code, which paths are:
Xpath: //*[@id=”_grid”]/set-class2/div2/text-binding//text()
Full Xpath: /html/body/main/div/div3/div3/div/div3/div/div/div/div[5]/div3/div/div3/div2/div3/div3/bc-data-grid//div/div3/set-class2/div2/text-binding//text()
I’m able to access to the element that, in the image of the HTML code, is at the top and has a blue shaded area, which I saved on the object called “main” in my code. The problem is that when I try to access to the element below (the one that starts with <bc-data-grid data-ng-hide=”error”… and it is right above of the “#shadow-root (open)” text) I got this error: