Fetching current DOM using Java API
Hi All,
I could see a clear difference between html page source and current DOM structure of the same html page. I need to fetch current DOM structure (mouse right click and inspect option in browser) of the page. Would like to know if there is any API in java or FE js?
I tried making http call but all those are giving html source of the page. Any help is highly appreciated.
Thanks,
Pradeep