Click here to Skip to main content
15,920,217 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a windows service which have to load the web page. In web page there is a JavaScript function which will generate the Dynamic HTML.

Is there anyway to load web page in windows service as like on browser and can get the dynamic generated html.

It will be more helpful if you have other better way.

Thanks!!

What I have tried:

I have tried some example WebClient and Html Agility Pack but cannot get the result as expected. It just return the HTML string of the webpage.
Posted
Updated 22-May-19 0:10am

1 solution

A good library to consider might be the CefSharp.OffScreen[^] package. It looks like it's designed to work for automation systems. You can have a look at their GitHub[^] page and see whether this would provide what you need?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900