XPath : How to scrape the data which generated by script?

I want to scrape on www.jomashop.com

but, the data that i want scape seems to generated by Javascript.

-> here is sample page
http://www.jomashop.com/omega-watch-311-30-42-30-01-005.html

and the data that i want is stock data.
(//span[@class='instock'])

How can i get result "In Stock" , using XpathOnUrl or others?

Do you mean the text that shows when hovering with the mouse over "IN STOCK":

If so, try this Xpath:
=XPathOnUrl(A1,"//span[@class='pdp-shipping-availability']","data-sale-tooltip")

If you just mean the content of the class "instock", then your Xpath works fine for me:

1 Like

Thanks for your answer. The problem was fact that i was using free license version. I try again using 14 days Pro trial license, and it works as i intended.

1 Like