Get value of XpathonUrl with onclick

Hello,

I am try to get this value with XpathonUrl, but its only show after I click on a button of page, please see below:

Please let me know if there is anyway to complete it.
Thanks in advance.

Check if the value is available in the original HTML code, then it should be pretty easy to extract. Also, impossible to answer if you don't supply a URL

This is url: https://finance.tvsi.com.vn/Enterprises/FinancialStatements?symbol=SKV
I wanna get content on this table with Xpathonurl, as you see it have Quaterly and Annual. Its always on quaterly when I load the url.
This image is Annual:

This image is Quaterly:

I wanna get content with Annual and I find out they control by onclick function but I don’t know how to setup it on XpathonUrl because it don’t have an url for it.

Thanks u very much again for your support!

When clicking on "Annual", the following request is executed, so you should be able to get your data using XPathOnUrl with it:
https://finance.tvsi.com.vn/Enterprises/BangCanDoiKeToan?symbol=SKV&YearView=2022&period=1&donvi=1000000&_=1644960730244

1 Like

Finally, I got it, thank you very much again and again.

Just a question, there is anyway to do the same work when I clicking on "View" button with this url?
"https://finance.vietstock.vn/SKV/financials.htm?tab=CDKT"

I tried to use the same way as view the link in develops tool but I can't.

I hope you have an idea with it.

Thank u.