Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

107
Views
How to Execute all Javascript of HTML File to produce just HTML DOM using C#

I have a html file, which doesn't contain almost any HTML elements, because all it have is just many ugly javascripts. But when I open it in browser, all Javascripts are evaluated / executed / rendered (I don't know the best word to use :D ) and I can go to Developer Tools and there I see normal HTML Dom with all elements.

So my question is, is there some kind of library that I can use in .NET 6 in C#, that would do exactly the same as browser is doing, and transform this file full of scripts into normal HTML DOM?

Thank you very much for any help, it would be greatly appreciated :)

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Take a look at CefSharp - as @David said, you need headless browser. You could also use WebView2.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!